How to restart app in objective c?
Answer / Vivek Kumar Dubey
"To restart an app programmatically in Objective-C, you can call the `terminate:` method on UIApplication. However, it's important to note that this action requires user confirmation since it will close the current app. Here's an example:nn```objective-cn[[UIApplication sharedApplication] terminate:nil];n```
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we create dynamic classes in objective c?
Explain what is @synthesize in objective-c?
How to call function in objective-c?
Why is objective c syntax so weird?
What is lazy var?
Is objective c garbage collected?
Is c++ similar to objective c?
What is the difference between weak and unowned?
How to create uibutton programmatically in objective c?
Can you please explain the way messaging works in objective-c?
Can I write some c++ function in same .m file?
Are callbacks closures?