6.UIActionSheet的最后一项点击失效
2015-09-01 16:56
471 查看
在开发过程中,发现有时候UIActionSheet的最后一项点击失效,点最后一项的上半区域时有效,这是在特定情况下才会发生,这个场景就是试用了UITabBar的时候才有。解决办法:
在showView时这样使用,[actionSheet showInView:[UIApplication sharedApplication].keyWindow];或者[sheet showInView:[AppDelegate sharedDelegate].tabBarController.view];这样就不会发生遮挡现象了。
在showView时这样使用,[actionSheet showInView:[UIApplication sharedApplication].keyWindow];或者[sheet showInView:[AppDelegate sharedDelegate].tabBarController.view];这样就不会发生遮挡现象了。
相关文章推荐
- iOS UIFont 字体名字大全
- Android Stuido中SVN的设置
- solr query
- **ERROR: Ninja build tool not found.
- UIResponder - 1
- 短语out of the blue
- 关于squirrel的那些事
- deque双向队列
- uva1584 - Circular Sequence
- values v11 v14
- iOS开发-综合UI案例-彩票
- android retrofit @Query用法
- 8.10.3 The MySQL Query Cache
- 被曝红米Note 2屏幕和摄像头偷梁换柱后,小米换图,删帖,发声明
- div设置contentEditable="true"作为文本编辑器,定位光标解决办法
- LeetCode Distinct Subsequences DP
- UILabel圆角、边框、宽度自适应
- QuickServer自学笔记(一)
- *** Assertion failure in -[CompensaCommentView _dequeueReusableViewOfType:withIdentifier:],
- 详解 CALayer 和 UIView 的区别和联系