Presenting modal in iOS 13 fullscreen

后端 未结 30 2128
囚心锁ツ
囚心锁ツ 2020-11-21 06:48

In iOS 13 there is a new behaviour for modal view controller when being presented.

Now it\'s not fullscreen by default and when I try to slide down, the app just dis

30条回答
  •  死守一世寂寞
    2020-11-21 07:26

    All the other answers are sufficient but for a large project like ours and where navigations are being made both in code and storyboard, it is quite a daunting task.

    For those who are actively using Storyboard. This is my advice: use Regex.

    The following format is not good for full screen pages:

    
    

    The following format is good for full screen pages:

    
    

    The following regex compatible with VS CODE will convert all Old Style pages to new style pages. You may need to escape special chars if you're using other regex engines/text editors.

    Search Regex

    
    

    Replace Regex

    
    

提交回复
热议问题