会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
OIMM
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
22
23
24
25
26
27
28
29
30
···
43
下一页
2016年6月21日
查看静态库(.a文件)内容
摘要: 可执行代码的二进制格式,看不到。 1、打开Terminal(终端), cd 到 .a包所在的文件夹 2、输入命令:lipo -info libtrafficstatisticszyf.a 结果如下:
阅读全文
posted @ 2016-06-21 14:49 OIMMZC
阅读(1808)
评论(0)
推荐(0)
2016年6月18日
获取本地ip地址
摘要: #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)
2016年6月17日
获取当前时间
摘要: 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)
设备版本,设备号,APP版本,APP名称获取
摘要: //获取设备id号 UIDevice *device = [UIDevice currentDevice];//创建设备对象 NSString *deviceUID = [[NSString alloc] initWithString:device.identifierForVendor.UUIDString]; NSLog(@"*******...
阅读全文
posted @ 2016-06-17 09:51 OIMMZC
阅读(445)
评论(0)
推荐(0)
2016年6月16日
获取设备号
摘要: //获取设备id号 UIDevice *device = [UIDevice currentDevice];//创建设备对象 NSString *deviceUID = [[NSString alloc] initWithString:device.identifierForVendor.UUIDString]; NSLog(@"**********...
阅读全文
posted @ 2016-06-16 16:59 OIMMZC
阅读(727)
评论(0)
推荐(0)
2016年6月14日
Button的图像位置设置
摘要: [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)
2016年6月12日
UIButton设置imgae图片自适应button的大小且不变形
摘要: 在某些情况下,我们使用的UIButton的背景图片不一定就是标准的尺寸,有时会偏大,那么怎么办? 这个比较简单直接设置 : self.imageView.contentMode = UIViewContentModeScaleAspectFill; 但是问题来了,如果图片尺寸比较button的bou
阅读全文
posted @ 2016-06-12 10:45 OIMMZC
阅读(38018)
评论(1)
推荐(0)
2016年5月30日
手势图片:拖拽捏合旋转放大
摘要: //转载他处 16:31:392016-05-30
阅读全文
posted @ 2016-05-30 16:26 OIMMZC
阅读(760)
评论(0)
推荐(0)
2016年5月24日
Unable to add App ID because the '10' App ID limit in '7' days has been exceeded.
摘要: 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)
2016年5月23日
iOS开发系列--触摸事件、手势识别、摇晃事件、耳机线控
摘要: -- 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
下一页
公告