摘要:
NSLog(@"loading"); UIView *contentView = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]]; contentView.backgroundColor = [UIColor blueColor]; NSLog(@"self view"); // view orientation rotation contentView.autoresizingMask = (UIViewAutoresizingFlexibleWidth | 阅读全文
摘要:
本文希望通过本次对WebView组件的使用讲解,可以让各位了解到WebView组件的详细使用:网络内容1、LoadUrl直接显示网页内容(单独显示网络图片)2、LoadData显示中文网页内容(含空格的处理)APK包内文件1、LoadUrl显示APK中Html和图片文件2、LoadData(loadDataWithBaseURL)显示APK中图片和文字混合的Html内容res/layout/main.xmlXml代码<?xmlversion="1.0"encoding="utf-8"?><LINEARLAYOUTandroid:layo 阅读全文