Jump to content

How to add Reboot command to .mm?


Go to solution Solved by JustinPet26,

6 posts in this topic

Recommended Posts

Posted (edited)

I've looked all over the site and tried everything suggested but get errors every time i try to compile!

 

Can someone please tell me what command i put into my .mm to link my reboot button? :(

Updated by JustinPet26
  • Solution
Posted (edited)

system("reboot");

 

Will give deprecated error in iOS 8-9 to fix problem follow instructions/links below

 

- Downgrade SDK to 7.1

 

- Follow instructions on this thread to bypass the error: https://iosgods.com/topic/24282-error-preference-bundle/ :)

Updated by JustinPet26

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines