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

Message view display location wrong in iPad 6.1 #11

Closed
simplelife-patrick opened this issue Dec 11, 2013 · 6 comments
Closed

Message view display location wrong in iPad 6.1 #11

simplelife-patrick opened this issue Dec 11, 2013 · 6 comments

Comments

@simplelife-patrick
Copy link

Firstly this lib works fine for me both in iPhone5(iOS 7.1beta), iPhone5(iOS 6.1.2) and iPad mini 1(iOS 7.0.4), the message view can be displayed under status bar correctly. But in my iPad 3(iOS 6.1), the message view can not be displayed fully, a part of it(begin from top) is missing...

@terryworona
Copy link
Owner

Can you provide a screenshot?

@simplelife-patrick
Copy link
Author

Screenshot is here, as you can see the message view display is not correct under iPad 3(iOS 6.1), (note: running app is for iPhone, so it is running on iPad with "2x" size.

testmessagebarmanager

@terryworona
Copy link
Owner

Does it display correctly @ 1x?

@simplelife-patrick
Copy link
Author

It's also wrong under "1x". I'm guessing the issue might be about "view controller status bar attribute" in Info.plist. Because the screenshot looks like just missing "20" pixels which status bar has the same height.

@terryworona
Copy link
Owner

Cool thanks, I'll look into it.

@simplelife-patrick
Copy link
Author

Hi, I'd like to apology for this issue, it's totally my fault as I forgot I have modified your codes about MessageView location as below:
_messageBarOffset = [[UIApplication sharedApplication] statusBarFrame].size.height;
After roll it back everything is OK for me now.
Thanks for your time, and again, it's a very good and useful library.

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