You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As documented in the discussion in #57 and #56, CSNotificationView is displayed with the status bar offset in a container view controller.
The key point is: CSNotificationView cannot always rely on the layout guides provided by the view controllers it is presented in. (Details in the comments on #57):
Hence, it has a method that calculates the .length property of what would normally be the topLayoutGuide, taking into account
the status bar height
if the parent UINavgiationController has its navigation bar visible or not
This behavior breaks in Container View Controllers that are not full-screen and also in modal Form-Style View Controllers on iPad.
The main author (me) does not have the time to fix this bug properly. I would appreciate pull requests that if possible maintain backwards-compatibility.
The text was updated successfully, but these errors were encountered:
As documented in the discussion in #57 and #56,
CSNotificationView
is displayed with the status bar offset in a container view controller.The key point is:
CSNotificationView
cannot always rely on the layout guides provided by the view controllers it is presented in. (Details in the comments on #57):Hence, it has a method that calculates the
.length
property of what would normally be thetopLayoutGuide
, taking into accountUINavgiationController
has its navigation bar visible or notThis behavior breaks in Container View Controllers that are not full-screen and also in modal Form-Style View Controllers on iPad.
The main author (me) does not have the time to fix this bug properly. I would appreciate pull requests that if possible maintain backwards-compatibility.
The text was updated successfully, but these errors were encountered: