Avoid using unavailable APIs when linking against app extension targets.
Created by: YuAo
When using Bolts in an app extension development. Some Blots classes have references to [UIApplication sharedApplication]
which is not available in an app extension target.
Need a way to avoid the unavailable API usage when linking against app extension targets. Maybe a macro for conditional compile?