摘要: 最近,在做ios7 适配时,偶然发现,在用actionSheet选择后(图1),弹出(图2)界面时,弹出界面如果是用 addSubView的话,会与actionSheet的弹出冲突,结果会使我们的弹出界面一闪就消失了。解决方法:在- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex回调函数中,加上下面一句[actionSheet dismissWithClickedButtonIndex:buttonIndex animated:NO]; 阅读全文
posted @ 2014-01-24 18:12 天下.无贼 阅读(472) 评论(0) 推荐(0) 编辑