Nitu Warjurkar
Nitu Warjurkar

Reputation: 155

Status bar back to previous app from multiple open apps

I am working on a project, in which I have requirement of switching from one app to another app.

When I go the second app from the first app, on the status bar of the second app, there is an option to go back to the first app. But when I go to the third app from the second app and come back again from the third app to the second app, Now on the status bar of the second app, there is the option of going to the third app, not the first app. How to show always first app's back option on status bar?

Upvotes: 3

Views: 5570

Answers (1)

rmaddy
rmaddy

Reputation: 318774

This is standard iOS behavior. When one app launches another app, iOS shows the previous app in the status bar to make it easy for the user to return to the previous app.

So if App A launches App B, while in App B the user will see the reference to App A in the status bar. If App B then launches App C, the status bar updates to show App B in the status bar.

At this point, if the user taps that link in the status bar the user is returned to App B and no link appears in the status bar any more.

If instead, the user does something in App C to launch App B, then the user goes to App B but the status bar link will now show App C.

This is how iOS works and nothing can be done to change it.

Upvotes: 9

Related Questions