-1

Is possible to change size of pop up view? I couldn't find how to change size of UIView. I want to change height of my pop up.

NoNaMe
  • 6,020
  • 30
  • 82
  • 110
Airi
  • 41
  • 1
  • 6
  • Please Describe more – Ashish Kakkad Aug 24 '15 at 06:07
  • post your code of popping view . – poojathorat Aug 24 '15 at 06:09
  • Thank you for response, i already had the solution based on iOS Hitler's comment. My question similar to http://stackoverflow.com/questions/16518175/custom-size-for-modal-view-loaded-with-form-sheet-presentation but i asked it in swift. But i figured there's no difference evein it in obj-c or swift it can use `self.preferredContentSize = CGSizeMake(width, height);` in the `viewDidLoad` – Airi Aug 24 '15 at 08:25

1 Answers1

0

yourviewcontroller.popoverContentSize will help you to adjust the height

eg:

CGSize size = CGSizeMake(325, 75);
popoverController.popoverContentSize = size;
Bhavin Bhadani
  • 22,224
  • 10
  • 78
  • 108
Mee
  • 173
  • 9