LiquidFloatingActionButton
LiquidFloatingActionButton copied to clipboard
Autolayout Issue
let floatingFrame = CGRect(x: self.view.frame.width - 56 - 16, y: self.view.frame.height - 100 - 16, width: 56, height: 56) let bottomRightButton = createButton(floatingFrame, .Up)
that code didnt work with when rotating the screen to landscape
Any help?
Use this code:
let floatingFrame = CGRect(x: UIScreen.mainScreen().bounds.width - 56 - 16, y: UIScreen.mainScreen().bounds.height - 56 - 16, width: 56, height: 56)