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
Is it possible to pin one edge of a view (e.g. .top) to another edge of its superview's safe area (e.g. .bottom)?. I'd like to accomplish this behavior: someView.topAnchor.constraint(equalTo: superview.safeAreaLayoutGuide.bottomAnchor, constant: -50)
From what I see in the PureLayout API, currently it's possible to pin only to the same edge of the superview's safe area.
The text was updated successfully, but these errors were encountered:
A bit late to replying as for some reason I do not get Github notifications but I can see the use case for this with the UILayoutGuide introduced in iOS 11.
Would make a good case to replace the deprecated - (NSLayoutConstraint *)autoPinToTopLayoutGuideOfViewController:(UIViewController *)viewController withInset:(CGFloat)inset related methods in the codebase.
Is it possible to pin one edge of a view (e.g.
.top
) to another edge of its superview's safe area (e.g..bottom
)?. I'd like to accomplish this behavior:someView.topAnchor.constraint(equalTo: superview.safeAreaLayoutGuide.bottomAnchor, constant: -50)
From what I see in the PureLayout API, currently it's possible to pin only to the same edge of the superview's safe area.
The text was updated successfully, but these errors were encountered: