Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // We replace
- let rect = CGRect(x: 0, y: 0, width: foregroundButton.bounds.width, height: height)
- // by
- let rect = CGRect(x: 0, y: foregroundButton.bounds.height - height, width: foregroundButton.bounds.width, height: height)
Add Comment
Please, Sign In to add comment