上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 44 下一页
摘要: 我们所要解决的问题如题目所示:ios中,长按Webview中的图片,将图片保存到本地相册。解决方案:对load的html网页,执行js注入,通过在webview中执行js代码,来响应点击事件,通过js代码来模拟长按事件。发现图片的位置,获得图片的url链接,通过此链接获得图片,将此图片保存到本地相册 阅读全文
posted @ 2016-06-22 10:17 OIMMZC 阅读(2197) 评论(0) 推荐(0)
摘要: 可执行代码的二进制格式,看不到。 1、打开Terminal(终端), cd 到 .a包所在的文件夹 2、输入命令:lipo -info libtrafficstatisticszyf.a 结果如下: 阅读全文
posted @ 2016-06-21 14:49 OIMMZC 阅读(1825) 评论(0) 推荐(0)
摘要: #import #import // Get IP Address - (NSString *)getIPAddress { NSString *address = @"error"; struct ifaddrs *interfaces = NULL; struct ifaddrs *temp_addr = NULL; int success = 0... 阅读全文
posted @ 2016-06-18 13:14 OIMMZC 阅读(250) 评论(0) 推荐(0)
摘要: NSString* date;//提交当前时间 NSDateFormatter* formatter = [[NSDateFormatter alloc]init]; [formatter setDateFormat:@"YYYY-MM-dd hh:mm:ss"]; date = [formatter stringFromDate:[NSDate date]... 阅读全文
posted @ 2016-06-17 11:00 OIMMZC 阅读(157) 评论(0) 推荐(0)
摘要: //获取设备id号 UIDevice *device = [UIDevice currentDevice];//创建设备对象 NSString *deviceUID = [[NSString alloc] initWithString:device.identifierForVendor.UUIDString]; NSLog(@"*******... 阅读全文
posted @ 2016-06-17 09:51 OIMMZC 阅读(451) 评论(0) 推荐(0)
摘要: //获取设备id号 UIDevice *device = [UIDevice currentDevice];//创建设备对象 NSString *deviceUID = [[NSString alloc] initWithString:device.identifierForVendor.UUIDString]; NSLog(@"**********... 阅读全文
posted @ 2016-06-16 16:59 OIMMZC 阅读(737) 评论(0) 推荐(0)
摘要: [button setImageEdgeInsets:UIEdgeInsetsMake(2, 70, 2,70 )]; [button setImageEdgeInsets:UIEdgeInsetsMake(<#CGFloat top#>, <#CGFloat left#>, <#CGFloat b 阅读全文
posted @ 2016-06-14 14:11 OIMMZC 阅读(500) 评论(0) 推荐(0)
摘要: 在某些情况下,我们使用的UIButton的背景图片不一定就是标准的尺寸,有时会偏大,那么怎么办? 这个比较简单直接设置 : self.imageView.contentMode = UIViewContentModeScaleAspectFill; 但是问题来了,如果图片尺寸比较button的bou 阅读全文
posted @ 2016-06-12 10:45 OIMMZC 阅读(38055) 评论(1) 推荐(0)
摘要: //转载他处 16:31:392016-05-30 阅读全文
posted @ 2016-05-30 16:26 OIMMZC 阅读(762) 评论(0) 推荐(0)
摘要: Unable to add App ID because the '10' App ID limit in '7' days has been exceeded. 官方的原因是对bundle identifier进行限制,避免申请太多的bundle identifier。 解决方法:将bundle  阅读全文
posted @ 2016-05-24 16:27 OIMMZC 阅读(225) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 44 下一页