TinyCrayon-iOS-SDK
TinyCrayon-iOS-SDK copied to clipboard
Eye button disappear
I use TinyCrayon 3.3.2 and the eye button disappear.
Fixed in the latest release
The eye button is still missing :(
any news on the eye button??
Same issue for me, using last version 5.0.0.0.0
Use below code to hot fix the problem tested on version 3.3.2 and 5.0.1
override func present(_ viewControllerToPresent: UIViewController, animated flag: Bool, completion: (() -> Void)? = nil) {
if(viewControllerToPresent.description.contains("TCMask.MaskViewController")){
let eyeView = viewControllerToPresent.view.subviews[2].subviews[0]
eyeView.isHidden = false
viewControllerToPresent.view.subviews[2].bringSubviewToFront(eyeView)
}
super.present(viewControllerToPresent, animated: flag, completion: completion)
}