上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 43 下一页
摘要: 可执行代码的二进制格式,看不到。 1、打开Terminal(终端), cd 到 .a包所在的文件夹 2、输入命令:lipo -info libtrafficstatisticszyf.a 结果如下: 阅读全文
posted @ 2016-06-21 14:49 OIMMZC 阅读(1808) 评论(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 阅读(245) 评论(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 阅读(153) 评论(0) 推荐(0)
摘要: //获取设备id号 UIDevice *device = [UIDevice currentDevice];//创建设备对象 NSString *deviceUID = [[NSString alloc] initWithString:device.identifierForVendor.UUIDString]; NSLog(@"*******... 阅读全文
posted @ 2016-06-17 09:51 OIMMZC 阅读(445) 评论(0) 推荐(0)
摘要: //获取设备id号 UIDevice *device = [UIDevice currentDevice];//创建设备对象 NSString *deviceUID = [[NSString alloc] initWithString:device.identifierForVendor.UUIDString]; NSLog(@"**********... 阅读全文
posted @ 2016-06-16 16:59 OIMMZC 阅读(727) 评论(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 阅读(495) 评论(0) 推荐(0)
摘要: 在某些情况下,我们使用的UIButton的背景图片不一定就是标准的尺寸,有时会偏大,那么怎么办? 这个比较简单直接设置 : self.imageView.contentMode = UIViewContentModeScaleAspectFill; 但是问题来了,如果图片尺寸比较button的bou 阅读全文
posted @ 2016-06-12 10:45 OIMMZC 阅读(38018) 评论(1) 推荐(0)
摘要: //转载他处 16:31:392016-05-30 阅读全文
posted @ 2016-05-30 16:26 OIMMZC 阅读(760) 评论(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 阅读(221) 评论(0) 推荐(0)
摘要: -- iOS事件全面解析 概览 iPhone的成功很大一部分得益于它多点触摸的强大功能,乔布斯让人们认识到手机其实是可以不用按键和手写笔直接操作的,这不愧为一项伟大的设计。今天我们就针对iOS的触摸事件(手势操作)、运动事件、远程控制事件等展开学习: iOS事件 在iOS中事件分为三类: 下图是苹果 阅读全文
posted @ 2016-05-23 11:25 OIMMZC 阅读(291) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 43 下一页