You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
written in a project whose IPHONEOS_DEPLOYMENT_TARGET is less than 11.0 makes the Swift compiler return <unknown>:0: error: 'insetsLayoutMarginsFromSafeArea' is only available on iOS 11.0 or newer.
Adding an @available(iOS 11, *) decorator to the override doesn't help.
AFAICT, there is no workaround to make the compiler happy.
The text was updated successfully, but these errors were encountered:
Environment
Xcode 10.2 beta 4 (10P107d)
Additional Detail from JIRA
md5: 6a9c985b70ee10b9e5f5dd792f3523f8
duplicates:
Issue Description:
This simple bit of code:
written in a project whose
IPHONEOS_DEPLOYMENT_TARGET
is less than11.0
makes the Swift compiler return<unknown>:0: error: 'insetsLayoutMarginsFromSafeArea' is only available on iOS 11.0 or newer
.Adding an
@available(iOS 11, *)
decorator to the override doesn't help.AFAICT, there is no workaround to make the compiler happy.
The text was updated successfully, but these errors were encountered: