Ganesh
Ganesh

Reputation: 11

How to reach to home page of the app when it is exited manually

How to start from the home page of a particular app which is exited in middle by clicking the device home page

Upvotes: 1

Views: 46

Answers (2)

sujith1406
sujith1406

Reputation: 2822

there is a method in applicationdelegate like

- (void)applicationWillEnterForeground:(UIApplication *)application {
}

u can use the code to set the view to your home page here

Upvotes: 0

Dinakar
Dinakar

Reputation: 1208

if it is your app and you want the app to start from beginning after pressing home button ,you have to set a property in info.plist .the property is "Application does not run in background" setting it to YES will solve the case.

TNQ

Upvotes: 1

Related Questions