[Issue #2346] Refactoring preprocessor directives to remove reference to AF_APP_EXTENSION
[Issue #2346] Adding preprocessor directives around UIApplication network activity indicator
[Issue #2346] Fix preprocessor directive to pass if __has_feature is unavailable