locked
Restart App in IOS RRS feed

  • Question

  • User223656 posted

    how I can implement restart activity(or its alternate) in IOS. in Android I am using recreate Actually I need to implement theme changes for which we need to restart activity.

    Monday, November 21, 2016 8:23 AM

Answers

  • User223656 posted

    @GeraldVersluis I did it by restarting activity in Android but I am unable to do this in iOS. I need to change the Navigation Bar color in Xamarin fors on user changes a theme. If you have any other solution then please guide.

    thnx

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, November 29, 2016 8:09 AM
  • User103165 posted

    @mubi as I was trying to say, there is no other solution. iOS does not provide and API to restart your app programmatically. Also killing you app programmatically is not allow by the Apple guidelines and will your app get rejected in the review process.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, November 29, 2016 8:15 AM

All replies

  • User103165 posted

    You cannot restart the app programatically, at least not on iOS. You can only notify the user and let them do it.

    Monday, November 21, 2016 10:45 AM
  • User223656 posted

    @GeraldVersluis I did it by restarting activity in Android but I am unable to do this in iOS. I need to change the Navigation Bar color in Xamarin fors on user changes a theme. If you have any other solution then please guide.

    thnx

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, November 29, 2016 8:09 AM
  • User103165 posted

    @mubi as I was trying to say, there is no other solution. iOS does not provide and API to restart your app programmatically. Also killing you app programmatically is not allow by the Apple guidelines and will your app get rejected in the review process.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, November 29, 2016 8:15 AM