Domanda

Can we prevent application moving to foreground if other apps call openURL: with valid URL. I need only save data from URL; caller application should stay in foreground and receiver app should stay in background.

For example: first app calls to [[UIApplication sharedApplication] openURL:@"validURL://"] and second app handles that call in - (BOOL) application:(UIApplication *)app handleOpenURL:(NSURL *)url, process URL, but does not move to foreground

È stato utile?

Soluzione

No, but you might want to look at the x-callback-url movement to see if that might help. Basically, it doesn't prevent you from coming to the background, but it allows you to receive another URL which you can then use to bring the originating app back to the foreground.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top