2016年11月25日

摘要: 每次模拟器重新跑,都说找不到缓存路径,要删掉程序,再次跑才好用. Simulator -> Reset Content and Settings... 这样就好了 http://stackoverflow.com/questions/40485155/failed-to-chmod-user-lib 阅读全文
posted @ 2016-11-25 10:35 大爱无声 阅读(227) 评论(0) 推荐(0) 编辑

2016年7月14日

摘要: 如果在ios9上也打印冲突,那么就可以解决它,可是实际情况是9上完全ok,7上全是冲突,而且cell高度计算也出现了问题, self.contentView.autoresizingMask = UIViewAutoresizingFlexibleHeight|UIViewAutoresizingF 阅读全文
posted @ 2016-07-14 17:55 大爱无声 阅读(446) 评论(0) 推荐(0) 编辑

2016年7月1日

摘要: 在导航控制器的rootviewcontroller中push一个控制器 出现view重叠现象而且不可点击了,原因是:在rootviewvc页面做横扫手势操作,会影响nav的stack, 直接说解决办法吧,写在rootviewcontroller中 - (void)viewDidAppear:(BOO 阅读全文
posted @ 2016-07-01 15:45 大爱无声 阅读(192) 评论(0) 推荐(0) 编辑

2016年6月2日

摘要: mansory设置cell子控件自上而下把cell的contentview撑开,就计算可以自动计算高度了,但是ios7会报下面的警告 Probably at least one of the constraints in the following list is one you don't wan 阅读全文
posted @ 2016-06-02 09:47 大爱无声 阅读(2267) 评论(0) 推荐(0) 编辑

2016年5月18日

摘要: //****以下为解决第一次进入停诊公告编辑页面,textview不可滚动问题- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event{ NSString * strText = self.textViewRemark.text; C 阅读全文
posted @ 2016-05-18 09:49 大爱无声 阅读(594) 评论(0) 推荐(0) 编辑

2016年4月13日

摘要: @interface ViewController () @property (nonatomic, strong)UIButton * viewRed; @end @implementation ViewController -(UIView *)viewRed { if (!_viewRed) 阅读全文
posted @ 2016-04-13 13:44 大爱无声 阅读(1137) 评论(0) 推荐(0) 编辑

2016年1月21日

摘要: 直接看文档https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TransitionGuide/Bars.html#//apple_ref/doc/uid/TP40013174-CH8-SW5文... 阅读全文
posted @ 2016-01-21 17:48 大爱无声 阅读(713) 评论(0) 推荐(0) 编辑

2016年1月15日

摘要: 之前一直用objc_msgSend,但是没注意apple的文档提示,所以突然objc_msgSend crash了。之前32位的时候没问题,然后转换为64位之后就会发生EXC_BAD_ACCESS问题。当然apple再文档([64-Bit Transition Guide for Cocoa Tou... 阅读全文
posted @ 2016-01-15 11:36 大爱无声 阅读(2608) 评论(0) 推荐(0) 编辑

2015年12月20日

摘要: 继承导航控制器之后#import "NAVController.h"@interface NAVController ()@property (nonatomic,strong)UIPanGestureRecognizer * panRecongizer;@property (nonatomic, ... 阅读全文
posted @ 2015-12-20 14:54 大爱无声 阅读(177) 评论(0) 推荐(0) 编辑

2015年12月17日

摘要: textfield光标消失问题,self是textfield自己[self setTintColor:[UIcolor blackColor];隐藏就是设置成clearcolor 阅读全文
posted @ 2015-12-17 16:47 大爱无声 阅读(567) 评论(0) 推荐(0) 编辑

导航