摘要:
python用xlrd模块读取xlsx格式表格的时候报Excel xlsx file; not supported错误。 pip install xlrdm 默认安装的2.0.1最新版,这个版本只支持xls格式的表格,需要先卸载然后安装1.2.0版本的xlrd模块。 pip uninstall xl 阅读全文
摘要:
python用xlrd模块读取xlsx格式表格的时候报Excel xlsx file; not supported错误。 pip install xlrdm 默认安装的2.0.1最新版,这个版本只支持xls格式的表格,需要先卸载然后安装1.2.0版本的xlrd模块。 pip uninstall xl 阅读全文
摘要:
函数判断都是系统提供,判断函数包含横竖屏时的两种情况。横屏(上水画卷)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. 阅读全文
|