PKFloatingButton
Floating button that will float over the window or specified view
Requirements
- iOS 8.0+
- Xcode 9.2
Installation
For manual instalation, drag Source folder into your project.
os use CocoaPod adding this line to you Podfile
:
pod 'PKFloatingButton'
Usage
For Enable Floating
- Just call
enableFloating()
method withshared
instance ofPKFloatingButton
Example:
PKFloatingButton.shared.enableFloating(onView: self.view, viewToExpand: nil, withImage: #imageLiteral(resourceName: "help_white"), onTapHandler: nil)
For Disable Floating
- Just call
disableFloating()
method withshared
instance ofPKFloatingButton
Example:
PKFloatingButton.shared.disableFloating()
Licence
PKFloatingButton is released under the MIT license.