nicolaschengdev / WYPopoverController

WYPopoverController is for the presentation of content in popover on iPhone / iPad devices. Very customizable.
Other
1.94k stars 370 forks source link

iOS8 issue: #146

Open skywalkerlw opened 9 years ago

skywalkerlw commented 9 years ago

Even I have set contentSizeForViewInPopover = {320, 380}, the size is still very small screenshot_22_10_2014_12_25_pm

khoudor84 commented 9 years ago

Hi!

I'm doing it like this (it's working in ios8): popOver.popoverContentSize = CGSizeMake(320,380);

Be sure that you unchecked AutoLayout in interface builder for this view.

skywalkerlw commented 9 years ago

I'm using iOS8.1 under Xcode6.1 I use your demo "WYPopoverDemo" and found the problem exists too define wy_popover_min_size cgsizemake 240 160

khoudor84 commented 9 years ago

Try this https://github.com/sammcewan/WYPopoverController . It is fixed version for ios 8.

skywalkerlw commented 9 years ago

Thanks so much.