摘要:
1.莫名碰到[[[Class alloc] init] autorelease] 调用时执行-(id)initWithFrame:(CGRect)frame原因:没有 重载init方法,就默认执行 重载的frame方法2.UISerachBar 去除背景框for (UIView *subview in searchBar.subviews) { if ([subview isKindOfClass:NSClassFromString(@"UISearchBarBackground")]) { [subview removeFromSuperview]; break; }}3 阅读全文
摘要:
设备被拿走,问题无法重现,只能先记录一下了导航到工程目录下, 删除整个Build目录 。相关链接:“Failed to upload *.app on Device ” Error in iPhone该方法跟clean all 的区别是可以删除 app.build, 阅读全文