Skip to content

Commit 6622982

Browse files
author
Baris Sencan
committed
Fix controller.bottom returned value
1 parent 65f76e8 commit 6622982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ManualLayout/UIViewController+LayoutGuides.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ public extension UIViewController {
1515
}
1616

1717
public var bottom: CGFloat {
18-
return bottomLayoutGuide.length
18+
return view.height - bottomLayoutGuide.length
1919
}
2020
}

0 commit comments

Comments
 (0)