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
I am using your frame work for implementing floating action button. I tried to use an image for the button by setting actionButton.setImage = "".*The problem now is the button is not rotating as it was earlier. Any idea??
*
```
let twitterImage = UIImage(named: "twitter_icon.png")!
let plusImage = UIImage(named: "googleplus_icon.png")!
let twitter = ActionButtonItem(title: "Twitter", image: twitterImage)
twitter.action = { item in print("Twitter...") }
let google = ActionButtonItem(title: "Google Plus", image: plusImage)
google.action = { item in print("Google Plus...") }
actionButton = ActionButton(attachedToView: self.view, items: [twitter, google])
actionButton.action = { button in button.toggleMenu() }
actionButton.setImage(UIImage(named: "bottom-logo-icon.png")!, forState: .Normal)
actionButton.backgroundColor = UIColor.clearColor()
The text was updated successfully, but these errors were encountered:
I am using your frame work for implementing floating action button. I tried to use an image for the button by setting actionButton.setImage = "".*The problem now is the button is not rotating as it was earlier. Any idea??
*
let twitterImage = UIImage(named: "twitter_icon.png")!
let plusImage = UIImage(named: "googleplus_icon.png")!
The text was updated successfully, but these errors were encountered: