-
Notifications
You must be signed in to change notification settings - Fork 449
Fix iOS 11 deprecation warnings #342
Comments
Hi, I would like to work on it if you don't mind. |
@klymenkoo all yours! Let us know if you run into any issues! |
@kylehickinson @jhreis I've fixed the first one: Also, I was a bit confused with I did research about the way to fix these warnings, and it seems that it's actually a bug in Swift compiler (StackOverflow discussion) I also tried to search for the same issue on GitHub, however, I found that other people also couldn't solve it: Do you want me to make a Pull Request with solution for |
@klymenkoo I think the problem with touchID related warnings is somewhere around here. However, even commenting out the entire method doesn't silence the warning for some reason. If you want to poke around by all means :) Otherwise, yeah you can make a PR for the fixes for the scroll view insets, Thanks! |
@kylehickinson yes, I've been looking exactly at that part of code, but the thing is that it looks right because it uses the According to my research, I tend to believe that it is a Swift compiler bug. |
Swift bug: https://bugs.swift.org/browse/SR-6637 |
There are a few iOS 11 specific deprecation warnings:
'automaticallyAdjustsScrollViewInsets' was deprecated in iOS 11.0: Use UIScrollView's contentInsetAdjustmentBehavior instead
'touchIDNotAvailable' was deprecated in iOS 11.0: use LAErrorBiometryNotAvailable
'touchIDNotEnrolled' was deprecated in iOS 11.0: use LAErrorBiometryNotEnrolled
'touchIDLockout' was deprecated in iOS 11.0: use LAErrorBiometryLockout
The text was updated successfully, but these errors were encountered: