![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS 功能
文章平均质量分 62
wodeph521
这个作者很懒,什么都没留下…
展开
-
wireshark抓包
1.先去百度下载2.把你的手機用数据线连接电脑,获取你手机的UDID3.打开终端,输入rvictl -s (UDID)Starting device 09c197e217e5e8a5f7895888d063cb48f923954c [SUCCEEDED] with interface rvi0这个就表示成功。4.然原创 2017-06-05 18:20:05 · 410 阅读 · 0 评论 -
Lazy loading NSBundle MobileCoreServices.framework, Loaded MobileCoreServices.framework, System gr
Lazy loading NSBundle MobileCoreServices.framework,Loaded MobileCoreServices.framework,System group container for systemgroup.com.apple.configurationprofiles path is /Users/develop/Library/Dev原创 2017-11-14 18:42:14 · 6633 阅读 · 0 评论 -
使用CocoaPods给项目配置第三方框架
1、创建Podfile文件cd到工程目录,然后创建Podfile并且用vim编写mac-3:~ ybd$ cd /Users/ybd/Desktop/huisheng mac-3:huisheng ybd$ touch Podfile (创建Podfile)2、输入vim Podfile 就会进入编辑页面,但是还不可以编辑mac-3:huisheng y原创 2017-11-03 15:29:31 · 260 阅读 · 0 评论 -
iOS 删除本地文件
//删除本地文件 NSFileManager *fileManger = [NSFileManagerdefaultManager];//文件管理器 NSArray *paths =NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES); NSStr原创 2017-07-11 17:14:52 · 968 阅读 · 0 评论 -
AFN请求问题,{ Status Code: 404, Headers { "Content-Language" = (en); "Content-Length" = (1175);
//404,406除了参数,路径错了,有可能都是需要使用multipart/form-data格式提交{ Status Code: 404, Headers { "Content-Language" = (en);"Content-Length" = (1175);"Content-Type" = ("text/html;charset=utf-8原创 2017-11-14 11:06:24 · 3213 阅读 · 0 评论 -
iOS 11出现的坑,Main Thread Checker: UI API called on a background thread: -[UIApplication statusBarOrien
2017-11-13 11:39:04.348973+0800 PlantsAndFlowers[11262:2146383] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication statusBarOrientation]PID: 11262, TID: 2146383,原创 2017-11-13 11:45:31 · 9201 阅读 · 0 评论 -
iOS11 自定义tabbar遇到的问题,删除系统自带tabbar按钮
自定义tabber,就是创建自己的tabbar盖在系统的tabbar上面 //自定义tabbar GJWTabBar *customTabBar = [[GJWTabBaralloc] init]; customTabBar.frame = self.tabBar.bounds; customTabBar.de原创 2017-11-13 11:34:36 · 1267 阅读 · 0 评论 -
iOS 一些常用的位运算
功能 示例 位运算 去掉最后一位 (101101->10110)原创 2017-08-26 10:09:14 · 728 阅读 · 0 评论 -
iOS 使屏幕常亮不黑屏
//常亮[[UIApplication sharedApplication] setIdleTimerDisabled:YES];//黑屏[[UIApplication sharedApplication] setIdleTimerDisabled:NO];原创 2017-07-18 15:52:39 · 1563 阅读 · 0 评论 -
判断一个对象是否存在对象数组中,遍历对象数组
NSArray *musicArr2 = [musicDao queryCurrdentDataWithandroidId:androidId]; //查询得到的对象数组MusicObj *musicObj = [[MusicObj alloc] init]; // 要判断的对象,因为这个对象在其他地方获取的,这里只是做个示范MusicObj *muObj = [[MusicO原创 2017-07-07 16:28:51 · 1964 阅读 · 0 评论 -
去掉UIWebView底部的黑条
webView.backgroundColor = [UIColor whiteColor];//可以用[UIColor clearColor]webView.opaque = NO; //去掉底部黑色原创 2017-07-13 16:48:17 · 502 阅读 · 0 评论 -
iphone 各个设备的分辨率和对应的像素尺寸
iphone各个设备的分辨率和对应的像素尺寸 以及所用到的 在 Images.xcassets中的图片规格iPhone 4SScreen Size: 3.5 InchesResolution: 640 x 960 (Half: 320 x 480)iPhone 5Screen Size: 4.0 InchesResolution: 640 × 1136 (Half:原创 2017-06-03 15:51:20 · 1092 阅读 · 0 评论 -
iOS App打包测试的解决方法一
直接Archive还是不行,用了另外一个方法去打包。1,先在项目的Target里的General进行设置,把Signing下的Automatically manage singing取消2,在Signing(Debug)和(Release)里的Provisioning Profile选中已经配置好的证书(Wildcard那种)3,直接Build项目(⌘b)4,Build完后原创 2017-06-03 15:36:38 · 287 阅读 · 0 评论 -
iOS版本更新
版本更新#pragma mark - 检查版本更新- (void)checkNewVersion {// NSString *url = @"https://itunes.apple.com/cn/app/ya-zi-kan-hu-ji-qi-ren/id1067342148?mt=8"; NSString *url = @"http://itunes.apple原创 2017-06-03 15:28:07 · 368 阅读 · 0 评论 -
iOS App打包测试的解决方法二
参考这位博主的http://blog.csdn.net/qq_15509071/article/details/70263955,再结合自己的实际操作原创 2017-06-03 15:40:35 · 1007 阅读 · 0 评论 -
[!] The version of CocoaPods used to generate the lockfile (1.3.1) is higher than the version of the
执行pod install时,提示如下信息:[!] The version of CocoaPods used to generate the lockfile (1.3.1) is higher than the version of the current executable (1.1.0.beta.1). Incompatibility issues may arise.[原创 2017-11-16 15:52:36 · 3104 阅读 · 0 评论