0

Possible Duplicate:
Force iphone app to restart programmatically

I have an alert popping up informing the user to restart the app, in order to change the theme.

However, if the user selects OKAY, from the alert, I would like to automatically restart the app. Is this possible or allowed by Apple?

Thanks for any help

Community
  • 1
  • 1
Vikings
  • 2,527
  • 32
  • 45

2 Answers2

3

Not possible. You can exit the app if you want using exit(1); but is highly discouraged. Why do you want to restart your app? There should be other workarounds to that.

Enrico Susatyo
  • 19,372
  • 18
  • 95
  • 156
0

No. You can't relaunch your app. You should consider a better approach to themes.

Daniel A. White
  • 187,200
  • 47
  • 362
  • 445