jjochen / JJFloatingActionButton

Floating Action Button for iOS
https://jjochen.github.io/JJFloatingActionButton
MIT License
374 stars 75 forks source link

Close automatically #282

Closed oxnnj closed 9 months ago

oxnnj commented 1 year ago

I am displaying the action button on view controller which is inside the UITabViewController, I want to close the action button when the other view controller is pressed in tabbar. Does current version supports this?

jjochen commented 9 months ago

It is possible to call close on the action button directly. So you could use this from the UITabViewControllerDelegate or maybe even from the viewWillDisappear method. Hope this helps.

jjochen commented 9 months ago

I'll close this for now.