MKAToggleButton
MKAToggleButton is multiple icons toggle button for iOS.
Include in your iOS app
CocoaPods
MKAToggleButton is available through CocoaPods. To install
it, simply add the following line to your Podfile:
Manual Installation
- Download latest MKAToggleButton
- Drag & Drop MKAToggleButton.framework into your Xcode project
Quick Usage
-
Import the module
Swift
-
Create an instance and set up
Swift
-
Add the toggle button to a parent view
Swift
Use the toggle button in the storyboard
- Set
MKAIconToggleButton
class to Custom Class field in the storyboard
- Set multiple image file names separated by commas to Image Names field
Template Rendering Mode
When the template mode is enabled, the toggle button applies its tintColor to the icon images.
Swift