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

Closed
ChristopherRyanCruz opened this Issue Nov 8, 2013 · 9 comments

Comments

Projects
None yet
3 participants
@ChristopherRyanCruz

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

This comment has been minimized.

Show comment Hide comment
@dasevilla

dasevilla Nov 8, 2013

Contributor

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.

Contributor

dasevilla commented Nov 8, 2013

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

This comment has been minimized.

Show comment Hide comment
@ChristopherRyanCruz

ChristopherRyanCruz Nov 8, 2013

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

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

@ChristopherRyanCruz

This comment has been minimized.

Show comment Hide comment
@ChristopherRyanCruz

ChristopherRyanCruz Nov 8, 2013

@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

@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

This comment has been minimized.

Show comment Hide comment
@ChristopherRyanCruz

ChristopherRyanCruz Nov 9, 2013

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.

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

This comment has been minimized.

Show comment Hide comment
@rknLA

rknLA Nov 9, 2013

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

rknLA commented Nov 9, 2013

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

@ghost ghost assigned rknLA Nov 9, 2013

@rknLA

This comment has been minimized.

Show comment Hide comment
@rknLA

rknLA Dec 18, 2013

@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 commented Dec 18, 2013

@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

This comment has been minimized.

Show comment Hide comment
@rknLA

rknLA Dec 19, 2013

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.

rknLA commented Dec 19, 2013

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

This comment has been minimized.

Show comment Hide comment
@ChristopherRyanCruz

ChristopherRyanCruz Dec 19, 2013

@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 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

This comment has been minimized.

Show comment Hide comment
@rknLA

rknLA Feb 13, 2014

This is fixed in v1.3.6

rknLA commented Feb 13, 2014

This is fixed in v1.3.6

@rknLA rknLA closed this Feb 13, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment