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

iOS 7 #18

Open
bludginozzie opened this issue Jun 16, 2014 · 2 comments
Open

iOS 7 #18

bludginozzie opened this issue Jun 16, 2014 · 2 comments

Comments

@bludginozzie
Copy link

I recently upgrade a project to iOS7 only to discover that the YRDropdownView appears behind the title bar. Do I need change my code in iOS7?

screen shot 2014-06-17 at 6 05 18 am

Thanks,
-Mark

@perry-mitchell
Copy link

@bludginozzie Did you get it working? From first glance, this looks as though it's because you haven't specified edgesForExtendedLayout. Think about it, in iOS 7 and 8, the views can go under the nav bars, so when you run code like:

[YRDropdownView showDropdownInView:self.view
                             title:@"Warning"
                            detail:@"Danger Will Robinson. You cannot do that."];

with the showDropdownInView method, the view is actually underneath the bar (and thus the dropdown will show there too.

I'm about to try this in an iOS 8 application, so here's hoping it works fine.

@bludginozzie
Copy link
Author

Yep, I ended up changing this property however I would have preferred to keep the property and have YRDropdown smart enough to detect the layout and adjust accordingly. I was reluctant to change the source in the event of upgrades. Would be very interested to see how iOS8 goes. I was using iOS7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants