Handling In-Call Status Bar with Custom Modal Presentation

后端 未结 5 802
甜味超标
甜味超标 2021-01-30 13:25

The Problem

I\'ve noticed some strange behavior when presenting a UINavigationController (with a root view controller, already pushed, naturally) with

5条回答
  •  礼貌的吻别
    2021-01-30 14:26

    I had the same issue and I fixed it by call update frame view, so i get height status bar. My problem was solved.

     UIView *toViewSnapshot = [toView resizableSnapshotViewFromRect:toView.frame afterScreenUpdates:YES withCapInsets:UIEdgeInsetsZero];
    

提交回复
热议问题