Should UApplicationDelegate openURL SourceApplication ever have to be null?

My iOS application retrieves files from other iOS applications using the UIApplicationDelegate openURL method. I am using the NSString * SourceApplication parameter in my application to track the name of the application that sent the files to my application.

In iOS7, the SourceApplication parameter was always populated with lines such as “getdropbox.dropbox”, “google.Drive”, or “evernote.iPhone.evernote”.

After I (and several other users of my application) have been upgraded to iOS8, the SourceApplication parameter always looks zero. The url parameter is correctly populated with the URL of the file being sent to my application. It seems that only changing the SourceApplication parameter could change using iOS8.

Does anyone else see this on iOS8? Has something changed in iOS8 that I don’t know about? Is this an iOS bug?

Link to UIApplicationDelegate protocol for openURL

+5
source share

Source: https://habr.com/ru/post/1203157/


All Articles