LiquidFloatingActionButton
LiquidFloatingActionButton copied to clipboard
Swift 2.0 branch not working from Navigation Bar Button
Hi! This is an awesome component, thank you for creating it. I am trying to incorporate it in one of my apps and the taps are not being detected.
I modified the demo app and it worked beautifully, using the following code:
let rightBarButton:UIBarButtonItem = UIBarButtonItem()
rightBarButton.customView = floatingActionButton
self.navigationItem.rightBarButtonItem = rightBarButton
As I am targeting iOS 9.1 and Swift 2.0, I pulled the swift-2.0 branch and created a blank project with identical code. The menu shows up and expands, but the taps are not detected. If I just follow the addSubview
method to create a floating menu, it works fine.
Can you please confirm that taps from the menu embedded in Navigation Bar should work in swift-2.0 branch?