If you have something like
something = bottomLayoutGuide.length
nowadays you just get a warning
'bottomLayoutGuide' was deprecated in iOS 11.0: Use view.safeAreaLayoutGuide
.bottomAnchor instead of bottomLayoutGuide.topAnchor
I do not have a clue how to do this. I just don't have the slightest clue how to get a value out of .safeAreaLayoutGuide
Figured I better give up and ask here after trying about 20 things.
from BOUNTY convert bottomLayoutGuide for the latest iOS, safeAreaLayoutGuide
No comments:
Post a Comment