How to customize / style a UIPopoverController

后端 未结 10 1856
闹比i
闹比i 2020-11-28 05:39

I\'m working on an iPad application and I\'m using UIPopoverControllers. I\'m at the part where the app needs to be branded and styled and i\'m wondering how to change the c

10条回答
  •  攒了一身酷
    2020-11-28 06:31

    I try to trick it by customizing the view controller inside the popover and then hiding the popover border using this code:

    UIView * border = [[insideViewController.view.superview.superview.superview subviews] objectAtIndex:0];  
    border.hidden = YES;
    

    The app is actually still in development so I'm hoping other people will comment on this solution.

提交回复
热议问题