presentModalViewController in iOS6

前端 未结 2 349
深忆病人
深忆病人 2021-02-04 02:53

In my app\'s code I am still presenting viewcontrollers modally with presentModalViewController. This is deprecated in iOS 6. Does that mean this method has no effect on devices

2条回答
  •  伪装坚强ぢ
    2021-02-04 03:22

    If you have

    [self presentModalViewController:aController animated:YES];
    

    change it to

    [self presentViewController:aController animated:YES completion:nil];
    

提交回复
热议问题