Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated function in iOS 9.0 #120

Open
hafiz013 opened this issue Apr 13, 2020 · 9 comments
Open

Deprecated function in iOS 9.0 #120

hafiz013 opened this issue Apr 13, 2020 · 9 comments

Comments

@hafiz013
Copy link

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

@fulldecent
Copy link
Owner

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.

@hafiz013
Copy link
Author

so i use pod. so what to do with this? should i reinstall this pod library?

@fulldecent
Copy link
Owner

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.

@hafiz013
Copy link
Author

have i mention above the code problem and where to fix it isn't?

@hafiz013
Copy link
Author

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

@fulldecent
Copy link
Owner

The work plan for this issue is to use the deprecated function only if running on iOS 9. Otherwise it should use workaround.

@hafiz013
Copy link
Author

please update minimum ios to up 10 above. Because old iphone no more support. Please update u library 3.0.1.

@fulldecent

@fulldecent
Copy link
Owner

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.

@hafiz013
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants