上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 44 下一页
摘要: //获取设备id号 UIDevice *device = [UIDevice currentDevice];//创建设备对象 NSString *deviceUID = [[NSString alloc] initWithString:device.identifierForVendor.UUIDString]; NSLog(@"**********... 阅读全文
posted @ 2016-06-16 16:59 OIMMZC 阅读(747) 评论(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 阅读(509) 评论(0) 推荐(0)
摘要: 在某些情况下,我们使用的UIButton的背景图片不一定就是标准的尺寸,有时会偏大,那么怎么办? 这个比较简单直接设置 : self.imageView.contentMode = UIViewContentModeScaleAspectFill; 但是问题来了,如果图片尺寸比较button的bou 阅读全文
posted @ 2016-06-12 10:45 OIMMZC 阅读(38069) 评论(1) 推荐(0)
摘要: //转载他处 16:31:392016-05-30 阅读全文
posted @ 2016-05-30 16:26 OIMMZC 阅读(778) 评论(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 阅读(231) 评论(0) 推荐(0)
摘要: -- iOS事件全面解析 概览 iPhone的成功很大一部分得益于它多点触摸的强大功能,乔布斯让人们认识到手机其实是可以不用按键和手写笔直接操作的,这不愧为一项伟大的设计。今天我们就针对iOS的触摸事件(手势操作)、运动事件、远程控制事件等展开学习: iOS事件 在iOS中事件分为三类: 下图是苹果 阅读全文
posted @ 2016-05-23 11:25 OIMMZC 阅读(306) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2016-05-17 14:02 OIMMZC 阅读(30) 评论(0) 推荐(0)
摘要: 【链接】软件著作权申报中60页标准代码文档的写作经http://url.cn/2EQ65iB 阅读全文
posted @ 2016-05-17 13:50 OIMMZC 阅读(845) 评论(0) 推荐(0)
摘要: 使用tinypng减小图片尺寸,智能处理 采用 -8bit不影响视觉效果的前提下,达到想要的目的。 阅读全文
posted @ 2016-05-16 11:19 OIMMZC 阅读(170) 评论(0) 推荐(0)
摘要: 1.新建一个Project 选择 iOS->Framework & Library ->Cocoa Touch Static Library点击Next-> 输入Product Name 2.删除自动生成的文件 替换成我们需要的文件 如:原本自定生成的文件为继承自NSObject的,而你需要的为继承 阅读全文
posted @ 2016-05-13 17:52 OIMMZC 阅读(1025) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 44 下一页