解决低版本Xcode不支持高版本iOS真机调试的问题
摘要:https://blog.csdn.net/duotemplar/article/details/80355402
阅读全文
posted @
2019-03-20 14:24
浅唱年华1920
阅读(594)
推荐(0) 编辑
Xcode中编译iOS程序,运行出错:Thread 1: signal SIGABRT
摘要:添加一个全局Exception Breakpoint 就检测出来了 导航栏里面 Debug 菜单里面
阅读全文
posted @
2019-03-18 10:51
浅唱年华1920
阅读(1903)
推荐(0) 编辑
react-native-table-component, react-native 表格
摘要:使用 react-native-table-component, 加上 FlatList 组件,实现可以下拉刷新,上拉加载的demo
阅读全文
posted @
2019-03-15 11:19
浅唱年华1920
阅读(3350)
推荐(0) 编辑
swift-UIPickerView(选择控件)
摘要:import UIKit //UIPickerView 的委托协议是 UIPickerViewDelegate,数据源是 UIPickerViewDataSource。我们需要在视图控制器中声明实现 UIPiekerViewDelegate 和 UIPickerViewDataSource 协议。 class RootViewController: UIViewController, UI...
阅读全文
posted @
2019-03-14 14:56
浅唱年华1920
阅读(4933)
推荐(0) 编辑
swift 加载 本地html 和 网络路径
摘要:先上代码: xcode 9.4 ios 11.4 上面 有四种方式 加载html 网页, 加载本地 html 的方法 有: 这样就可以取到路径值,就可以正常加载
阅读全文
posted @
2019-03-12 17:56
浅唱年华1920
阅读(2234)
推荐(0) 编辑
xcode9.4 报错 error:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
摘要:原因 http | https 协议 不能正常使用 找到的解决方案 但是在字段名上有了变化,不过复制进去 还是会自动选择对应的 解决办法 1. 在Info.plist中添加 App Transport Security Settings,类型Dictionary 2. 在 App Transport
阅读全文
posted @
2019-03-12 15:31
浅唱年华1920
阅读(557)
推荐(0) 编辑
viewDidLoad, viewWillDisappear, viewWillAppear等区别及各自的加载顺序
摘要:ios 开发中视图的声明周期 viewWillAppear: 视图即将可见时调用。默认情况下不执行任何操作 viewDidAppear: 视图已完全过渡到屏幕上时调用 viewWillDisappear: 在该视图被取消、覆盖或以其他方式隐藏后调用,viewDidLoad:在视图加载后被调用,如果是
阅读全文
posted @
2019-03-11 15:06
浅唱年华1920
阅读(647)
推荐(0) 编辑