0

I open a popover by segue and cover the whole current view controller. I would like to cover just the dimensions (width and height) of this popover because it is lesser than current view controller.

Rob
  • 2,649
  • 3
  • 27
  • 34
Almeida
  • 1,254
  • 12
  • 26
  • You can popover view controller with clear background colour and put UIView to your "clear ViewController" . this question should help you to create viewController with clear background: http://stackoverflow.com/questions/11236367/display-clearcolor-uiviewcontroller-over-uiviewcontroller – 0ndre_ Oct 14 '16 at 20:17
  • Thank you for your answer but I would like with the current background. Moreover I'm using swift and this link is for object c. – Almeida Oct 14 '16 at 20:43
  • You can find there option for swift (You can also set it up in UI). And you can put the background to your custom UIView which will represent your "viewController" . Unfortunately I do not know about other solution :/ – 0ndre_ Oct 14 '16 at 20:46

0 Answers0