LiquidFloatingActionButton icon indicating copy to clipboard operation
LiquidFloatingActionButton copied to clipboard

Autolayout Issue

Open thihaaung6245 opened this issue 8 years ago • 1 comments

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?

thihaaung6245 avatar Mar 09 '16 20:03 thihaaung6245

Use this code: let floatingFrame = CGRect(x: UIScreen.mainScreen().bounds.width - 56 - 16, y: UIScreen.mainScreen().bounds.height - 56 - 16, width: 56, height: 56)

iThanh avatar Jun 24 '16 06:06 iThanh