首页 > 移动平台 > 详细

iOS UIActionSheet在7.1和8.3之间的不同

时间:2015-08-10 18:15:58      阅读:226      评论:0      收藏:0      [点我收藏+]

iOS7.1版本中:使用UIActionsheet显示在当前view时会触发当前view的 ViewWillLayoutSubViews

8.3中不会触发自动布局

    UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:nil
                                                             delegate:self
                                                    cancelButtonTitle:@"cancel"
                                               destructiveButtonTitle:nil
                                                    otherButtonTitles:@"single article", @"serial article", nil
                                  ];
    actionSheet.actionSheetStyle = UIActionSheetStyleBlackTranslucent;
    
    [actionSheet showInView:self.view];

特此小记一下

iOS UIActionSheet在7.1和8.3之间的不同

原文:http://my.oschina.net/littleDog/blog/490245

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!