摘要:函数判断都是系统提供,判断函数包含横竖屏时的两种情况。横屏(上水画卷)returnUIInterfaceOrientationIsLandscape( interfaceOrientation );竖屏(人物肖像)returnUIInterfaceOrientationIsPortrait( interfaceOrientation );
阅读全文
07 2012 档案
摘要:函数判断都是系统提供,判断函数包含横竖屏时的两种情况。横屏(上水画卷)returnUIInterfaceOrientationIsLandscape( interfaceOrientation );竖屏(人物肖像)returnUIInterfaceOrientationIsPortrait( interfaceOrientation );
阅读全文
摘要:typedefenum {#if __IPHONE_3_2 <= __IPHONE_OS_VERSION_MAX_ALLOWED UIUserInterfaceIdiomPhone, // iPhone and iPod touch style UI UIUserInterfaceIdiomPad, // iPad style UI#endif} UIUserInterfaceIdiom;if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { NSLog(@"UIUserInterfaceIdiomPa...
阅读全文
摘要:1、不能取得广告的时候,一定要隐藏 iAd 广告 Banner。2、要设置Delegate,出错的话立刻把 Banner 隐掉。3、开始把BannerView的属性设置为hidden = YES;直到请求到广告才显示出现。
阅读全文
摘要:[[EAGLViewsharedEGLView] addSubview:pAdsView.view];pAdsView 是UIViewController类型,UIViewController不是UIView子类,所以[addSubview:pAdsView.view]添加UIViewController内部成员变量view.
阅读全文
|