Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

Fix orientation #11

Closed
wants to merge 4 commits into from
Closed

Fix orientation #11

wants to merge 4 commits into from

Conversation

refusebt
Copy link

I create a new branch to pull request.

Make the orientation of LNNotificationBannerWindow changed base on statusBarOrientation
Sometimes, I hope the UIViewController force landscape. When trigger the LNNotification, it maybe portrait or landscape base on device. The LNNotification's Orientation is different with the UIViewController. If the LNNotification's Orientation is the same with the statusbar, the problem can be solved.

The orientation of LNNotificationBannerWindow is base on statusBarOrientation
Remove _notificationWindow on dismiss. Otherwise, the orientation of LNNotificationBannerWindow can not be changed on other UIViewController.
IOS6 compatibility
This rolls back to commit 0447faf.
@LeoNatan
Copy link
Owner

I will take a look some time soon. Thanks

@LeoNatan LeoNatan closed this Dec 18, 2014
@LeoNatan LeoNatan reopened this Dec 18, 2014
@LeoNatan LeoNatan closed this in 3b1ff50 Jan 10, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants