-
Notifications
You must be signed in to change notification settings - Fork 191
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 8 landscape orientation issue #59
Comments
Haven't looked into it. No time at the moment. Give it a try! |
Alright, I'll see what I can do. |
I did not spend much time trying to fix it, but this little hack fixes the iOS 8 issue for me:
I just simply added an iOS version number to the if conditional above. |
Having the same issue in landscape, the bar is taking the whole view unfortunately. |
have you tried to replace the orientFrame method with the one above? That fixed the problem for me. |
Yes I tried, but problem is that when I turn my device, tap on the button which shows the message, it's shown as portrait EDIT: |
@ivanharmat do you want to submit a pull request with your patch? |
sure. thanks. I'll get to it right now. |
@terryworona I can't push my branch to git. It says "Permission to terryworona/TWMessageBarManager.git denied to ivanharmat." |
You'll have to issue a pull request @ivanharmat See: https://help.github.com/articles/using-pull-requests I can cherry pick your code but then you won't get any credit :) |
OK @terryworona, |
@PhillipApps Please replace orientFrame method with this
frame = CGRectMake(frame.origin.x, frame.origin.y, frame.size.height, frame.size.width); in original code which should be like this frame = CGRectMake(frame.origin.x, frame.origin.y, frame.size.width, frame.size.height); thanks |
How could this be fixed?
Messages work fine with portrait orientation, but they are either cut off (iPhone) or all over the screen (iPad). iOS 7 works like a charm, both orientations.
Thank you.
The text was updated successfully, but these errors were encountered: