Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'contentSizeForViewInPopover' is deprecated in iOS 7 #20

Closed
zetachang opened this issue Sep 15, 2013 · 1 comment
Closed

'contentSizeForViewInPopover' is deprecated in iOS 7 #20

zetachang opened this issue Sep 15, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@zetachang
Copy link

Hi,

The master works pretty fine on iOS 7 👍

But there are still warnings popped out suggesting using UIViewController.preferredContentSize instead. I am thinking of a possible workaround which will check if the view controller respond to preferredContentSize first. If not, then fallback to use contentSizeForViewInPopover.

@ghost ghost assigned nicolaschengdev Sep 15, 2013
nicolaschengdev added a commit that referenced this issue Sep 15, 2013
@nicolaschengdev
Copy link
Owner

Hi zetachang,

thanks for your contribution !

Nicolas

jmkr pushed a commit to jmkr/WYPopoverController that referenced this issue Nov 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants