How to dismiss a view controller opened with presentModalViewController:

前端 未结 3 701
迷失自我
迷失自我 2021-02-05 10:25

I presented a view controller using presentModalViewController:, now how to close/dismiss it?

3条回答
  •  无人共我
    2021-02-05 11:08

    From the controller presented modally:

    [self dismissModalViewControllerAnimated:YES]
    

提交回复
热议问题