摘要:
每次模拟器重新跑,都说找不到缓存路径,要删掉程序,再次跑才好用. Simulator -> Reset Content and Settings... 这样就好了 http://stackoverflow.com/questions/40485155/failed-to-chmod-user-lib 阅读全文
摘要:
如果在ios9上也打印冲突,那么就可以解决它,可是实际情况是9上完全ok,7上全是冲突,而且cell高度计算也出现了问题, self.contentView.autoresizingMask = UIViewAutoresizingFlexibleHeight|UIViewAutoresizingF 阅读全文
摘要:
在导航控制器的rootviewcontroller中push一个控制器 出现view重叠现象而且不可点击了,原因是:在rootviewvc页面做横扫手势操作,会影响nav的stack, 直接说解决办法吧,写在rootviewcontroller中 - (void)viewDidAppear:(BOO 阅读全文
摘要:
mansory设置cell子控件自上而下把cell的contentview撑开,就计算可以自动计算高度了,但是ios7会报下面的警告 Probably at least one of the constraints in the following list is one you don't wan 阅读全文
摘要:
//****以下为解决第一次进入停诊公告编辑页面,textview不可滚动问题- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event{ NSString * strText = self.textViewRemark.text; C 阅读全文
摘要:
@interface ViewController () @property (nonatomic, strong)UIButton * viewRed; @end @implementation ViewController -(UIView *)viewRed { if (!_viewRed) 阅读全文
摘要:
直接看文档https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/TransitionGuide/Bars.html#//apple_ref/doc/uid/TP40013174-CH8-SW5文... 阅读全文
摘要:
之前一直用objc_msgSend,但是没注意apple的文档提示,所以突然objc_msgSend crash了。之前32位的时候没问题,然后转换为64位之后就会发生EXC_BAD_ACCESS问题。当然apple再文档([64-Bit Transition Guide for Cocoa Tou... 阅读全文
摘要:
继承导航控制器之后#import "NAVController.h"@interface NAVController ()@property (nonatomic,strong)UIPanGestureRecognizer * panRecongizer;@property (nonatomic, ... 阅读全文
摘要:
textfield光标消失问题,self是textfield自己[self setTintColor:[UIcolor blackColor];隐藏就是设置成clearcolor 阅读全文