标签:
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