Is there any way to determine "how" an app is launched or made active (i.e. homescreen tap, four finger swipe, siri, etc...)?
There's this thread which is similar (Determining whether iOS application was launched via Siri), however not too many answers in this. There's also this for Mac OSX (How can a Mac app determine the method used to launch it?) but I need something similar for iOS.
I've also skimmed through this (https://developer.apple.com/library/ios/DOCUMENTATION/iPhone/conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html#//apple_ref/doc/uid/TP40007072-CH4-SW3) though I coudn't find anything that recognizes "how" the app was launched.
Thanks in advance.