“viewWillTransitionToSize:” not called in iOS 9 when the view controller is presented modally

后端 未结 4 1114
夕颜
夕颜 2021-01-01 14:44

I present a view controller from another one:

- (void)showModalView
{
   UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@\"Main\" bundle:nil];
          


        
4条回答
  •  醉酒成梦
    2021-01-01 15:14

    May seem a trivial case, but when using an iPad check that the user has not activated rotation lock in the settings or control panel or side button

提交回复
热议问题