一种方法是通过systemVersion检查IOS9,但我希望有更好的方法.
[[UIDevice currentDevice] systemVersion]
if([UIApplicationShortcutItem class]){ //Handle shortcut launch }