How to restart app in objective c?



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

Post New Answer

More Objective-C Interview Questions

How to create uibutton programmatically in objective c?

1 Answers  


What are the important data types found in objective-c?

1 Answers  


Can you please explain the way messaging works in objective-c?

1 Answers  


What is gcd objective c?

1 Answers  


What is synthesized in objective-c?

1 Answers  


What are the rules for identifiers?

1 Answers  


What are the attributes of category?

1 Answers  


Is apple stopping supporting objective c?

1 Answers  


Is it possible to implement dealloc in arc?

1 Answers  


Is objective c and c the same?

1 Answers  


What is protocol in networking?

1 Answers  


What is super in objective c?

1 Answers  


Categories