Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Can we create dynamic classes in objective c?

1 Answers  


Explain what is @synthesize in objective-c?

1 Answers  


How to call function in objective-c?

1 Answers  


Why is objective c syntax so weird?

1 Answers  


What is lazy var?

1 Answers  


Is objective c garbage collected?

1 Answers  


Is c++ similar to objective c?

1 Answers  


What is the difference between weak and unowned?

1 Answers  


How to create uibutton programmatically in objective c?

1 Answers  


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

1 Answers  


Can I write some c++ function in same .m file?

1 Answers  


Are callbacks closures?

1 Answers  


Categories