Skip to content
Guest Big Announcement

How to add Reboot command to .mm?

Featured Replies

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

Solved by JustinPet26

  • Author
  • Solution

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

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.