|ReleasedLast Release||Nov 2017|
Maintained by Léo Derbois.
Like me you are a lazy developer and you hate when you enable Smart Invert accessibility feature on your iDevice but the app you use doesn't support it, so images are not visible/readable ? Look at where point my finger
SmartInvert pod is just a simple extension of
UIView with a property
smartinvert which enable the support of Smart Invert of the view, and also add this accessibility feature in all your
UIView in your Storyboard thanks to the
More over you can use two class
SmartInvertImageView which enable this feature automically.
myView.smartInvert = true,
SmartInvertViewfor custom view (for an openGLES View for exemple),
SmartInvertImageViewfor an UIImageView.
To run the example project, clone the repo, and run
pod install from the Example directory first.
Smart Invert is only available on iOS 11, so if your user run on lower iOS, this feature just do nothing.
SmartInvertView is available through CocoaPods. To install
it, simply add the following line to your Podfile:
leoderbois, [email protected]
SmartInvertView is available under the MIT license. See the LICENSE file for more info.