UIModalTransitionStylePartialCurl half page

后端 未结 4 1351
陌清茗
陌清茗 2021-01-13 12:15

I\'m displaying an UIViewController by the following way:


MyViewController *myVc = [[MyViewController alloc] initWithNibName:@\"MyViewController\" bundle:ni         


        
4条回答
  •  攒了一身酷
    2021-01-13 12:35

    iOS only uses the first-level children of the UIView to decide where to position the partial page curl. That allows you to add a 2nd level child view with a frame of e.g. (0, -50, 320, 100) that slips into the area you call the "dead area".

提交回复
热议问题