Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Rdio Navbar and layout overlapped on iPad, using native iPhone app #99

Closed
ChristopherRyanCruz opened this Issue · 9 comments

3 participants

@ChristopherRyanCruz
Collaborator

hi - i’m presenting your login api through my app (iPhone native) on a view controller with a hidden status bar - and on an iPad RDIO’s navigation bar is cut off. Apple has some new issues with iOS7 calculating a view’s layout sometimes, and recommends us to call this :

"

self.edgesForExtendedLayout = UIRectEdgeNone;

since RDIO's view controller for logging in is private I am not able to adjust your view(it only works when the status bar is visible. Is there any way you guys can push out a new version of the API with this change in mind?.
ios simulator screen shot nov 8 2013 10 28 30 am

@dasevilla
Owner

Are you running the latest version of the iOS SDK? We released a fix for the iOS 7 status bar. Checkout our notes on iOS 7.

@ChristopherRyanCruz
Collaborator

@dasevilla yes I am, and the issue is still being replicated even though I am pushing the auth view down.

@ChristopherRyanCruz
Collaborator

@dasevilla are you guys calling self.edgesForExtendedLayout = UIRectEdgeNone ?? I had a similar layout issue on spotify's login view but after adding that directly onto their login view controller it fixed all layout issues

@ChristopherRyanCruz
Collaborator

https://github.com/ChristopherRyanCruz/hello-ios-playback here's an app i produced on your sample application to reproduce the bug we're having. please run on any iOS iPad simulator or iPad device.

@rknLA
Collaborator

Thanks for posting code that reproduces the issue. I'll see what I can do to get this fixed in our next release.

@rknLA rknLA was assigned
@rknLA
Collaborator

@ChristopherRyanCruz I've had a chance to investigate this a bit more, and the symptom you're seeing is related to running a non-Universal iPhone app on an iPad... Notice that the status bar is still present in your screenshot, and is present in the main view, even though it's set to be hidden.

The larger issue, though, is that the view expects the status bar to be visible, and behaves incorrectly when the app is set to Universal, or run on iPhone with the settings you've added. It does look like something we'll be able to fix for the next release, but I don't have a timeline of when we'll release that right now.

@rknLA
Collaborator

Out of curiousity, does setting the View controller-based status bar appearance flag in your Info.plist to NO break other functionality in your app? Because setting that flag seems to fix the symptoms.

@ChristopherRyanCruz
Collaborator

@rknLA thanks for checking it out.

and yes setting that flag will break some views in my app. I actually need the functionality to change the the appearance of my status bar- as some view controllers in my app do not use a status bar, while other view controllers in my app do.

@rknLA
Collaborator

This is fixed in v1.3.6

@rknLA rknLA closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.