FDTake
FDTake copied to clipboard
Deprecated function in iOS 9.0
Hi there developer please update your function since it is depreciated inside ios 9.0.
UIApplication.shared.isStatusBarHidden = true
under class : extension FDTakeController : UIImagePickerControllerDelegate, UINavigationControllerDelegate
and under function public func imagePickerControllerDidCance
Currently we are targeting iPhone 5 and later. So this requires iOS 10.3.3.
Updated this in 36079b8. Just pushed.
This issue is valid. Looking for help to produce a pull request.
so i use pod. so what to do with this? should i reinstall this pod library?
The change above is a build setting only and does not remove the warning you see. Also we have not published it. So there reinstalling will do nothing.
If somebody can help to fix the warning you found I will release the update.
have i mention above the code problem and where to fix it isn't?
class ViewController: UIViewController {
var isHidden:Bool = false{
didSet{
UIView.animate(withDuration: 0.5) { () -> Void in
self.setNeedsStatusBarAppearanceUpdate()
}
}
}
@IBAction func clicked(sender: AnyObject) {
isHidden = !isHidden
}
override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation{
return .slide
}
override var prefersStatusBarHidden: Bool{
return isHidden
}
}
as mention a lot of stackoverflow they recommend to use "set prefersStatusBarHidden". I hope u change u code. @fulldecent
The work plan for this issue is to use the deprecated function only if running on iOS 9. Otherwise it should use workaround.
please update minimum ios to up 10 above. Because old iphone no more support. Please update u library 3.0.1.
@fulldecent
iOS was released as recently as two years ago. https://en.wikipedia.org/wiki/IOS_9
This project is designed to run on a wide variety of devices so our target is to support the union of whatever versions of iOS that other projects need.
We will require strong evidence that no applications are targeting iOS 9 in order to consider dropping iOS 9 support.
if that case can u build this library do if else let say if build version ios 9 use this function else use function support for ios 10. @fulldecent