Skip to content

Commit

Permalink
Merge pull request #8062 from hansemannn/TIMOB-23514
Browse files Browse the repository at this point in the history
[TIMOB-23514] iOS10: Deprecate iAds
  • Loading branch information
AngelkPetkov committed Jun 28, 2016
2 parents a24ab8a + 65482b2 commit e52b29f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iphone/Classes/TiUIiOSProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,10 @@ -(NSString*)AD_SIZE_LANDSCAPE

-(id)createAdView:(id)args
{
#if IS_XCODE_8
DebugLog(@"[WARN] iAd is deprecated in iOS 10 and will be removed in future versions of iOS. Please consider to replace it with a different service.");
#endif

return [[[TiUIiOSAdViewProxy alloc] _initWithPageContext:[self executionContext] args:args] autorelease];
}
#endif
Expand Down

0 comments on commit e52b29f

Please sign in to comment.