Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Back To {AppName} Not Showing Up | iOS9 openURL

I'm using the following code:

NSString *customURLString = [NSString stringWithFormat: @"secondApp://?%@", [document fileId]];
NSURL *customURL = [NSURL URLWithString: customURLString];
[[UIApplication sharedApplication] openURL: customURL];

The "Back To firstApp" is not showing up upon successful opening of the secondApp. Is there something I'm missing? Been scouring the internet for this answer, and am trying to make sure that "Back To firstApp" is there.

Has anyone come across this?

like image 976
Jude Michael Murphy Avatar asked Jan 14 '16 17:01

Jude Michael Murphy


1 Answers

I found out the answer.

Apparently, if you put this in your info.plist for the second app, enter image description here

and declare that View controller-based status bar appearance is NO. It will not show the back to button. Not quite sure why, but this resolved my issue.

Thank you everyone for the support!

like image 197
Jude Michael Murphy Avatar answered Nov 15 '22 00:11

Jude Michael Murphy