当前位置: 代码迷 >> 综合 >> Presenting action sheet clipped by its superview
  详细解决方案

Presenting action sheet clipped by its superview

热度:94   发布时间:2023-12-11 14:15:54.0

Presenting action sheet clipped by its superview. Some controls might not respond to touches. On iPhone try -[UIActionSheet showFromTabBar:] or -[UIActionSheet showFromToolbar:] instead of -[UIActionSheet showInView:].

将代码:[actionSheet showInView:self.view]; 改为:[actionSheet showInView:[UIApplication sharedApplication].keyWindow];即可

这个博客上写出了答案:http://dale.leepood.com/2012/04/

http://blog.csdn.net/kylinbl/article/details/8996078

  相关解决方案