Search code examples
iphoneobjective-cios6ios7uipopoverbackgroundview

UIPopoverViewController in ios7?


In iOS 6 UIPopoverView have border with black translucent colour but iOS 7 do not have border because iOS 7 become transparent. how to add border with black translucent colour in iOS 7.

Can anyone know please help me to solve this problem?


Solution

  • The popover in iOS7 is white and blur, from Apple:

    In iOS 7, the popover background is a white blur, which means that the background of the popover’s content view can be transparent. A table view inside a popover automatically uses a translucent appearance; custom content inside a popover should use a translucent appearance.

    Unfortunately Popover is not customizable, you need to use some alternative:

    GIKPopoverBackgroundView

    WYPopoverController

    Or any other ..