摘要: 推荐几篇不错的文章.开始iOS 7中自动布局教程(一)http://www.cocoachina.com/industry/20131203/7462.html开始iOS 7中自动布局教程(二)http://www.cnblogs.com/zer0Black/p/3977288.html 阅读全文
posted @ 2015-04-24 15:00 橙子哥哥 阅读(188) 评论(0) 推荐(0) 编辑
摘要: Project---Build Setting中 修改这一项,变成Default Compiler(Apple LLVM 6.0) 阅读全文
posted @ 2015-04-09 15:41 橙子哥哥 阅读(434) 评论(0) 推荐(0) 编辑
摘要: view 必须启用 [self.hotView setTranslatesAutoresizingMaskIntoConstraints:YES];这个属性才能有效 阅读全文
posted @ 2015-01-30 17:05 橙子哥哥 阅读(184) 评论(0) 推荐(0) 编辑
摘要: Build Phases ---> Compile Sources 查找是否引用了相同的.m文件删掉一个就OK 阅读全文
posted @ 2014-08-19 13:22 橙子哥哥 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 随手记下不要试图在.h里面#import xxxxxxxx需要的时候 可以加@classxxxxxxxx细节 阅读全文
posted @ 2014-08-13 15:25 橙子哥哥 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 在ARC 下也会造成内存泄露CGImageRelease(imageRef); 这句话一定不要忘记加 阅读全文
posted @ 2014-08-08 14:54 橙子哥哥 阅读(487) 评论(0) 推荐(0) 编辑
摘要: iPhone App 上架流程1. 申请 App ID(1)连到 Developer 网页 ( http://developer.apple.com )。(2)进入 iOS Provisioning Portal。(3)点选左侧的 App IDs。(4)点选右上角的 New App ID。(5)De... 阅读全文
posted @ 2014-07-30 18:10 橙子哥哥 阅读(350) 评论(0) 推荐(0) 编辑
摘要: //获取view的controller- (UIViewController *)viewController { for (UIView* next = [self superview]; next; next = next.superview) { UIResponder *nextRe... 阅读全文
posted @ 2014-05-20 15:36 橙子哥哥 阅读(1008) 评论(0) 推荐(0) 编辑
摘要: - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch{ // 获取点击的view的类名 NSLog(@"%@", NSStringFromCla... 阅读全文
posted @ 2014-05-07 15:46 橙子哥哥 阅读(791) 评论(0) 推荐(0) 编辑