I have a map in my application that starts as a small map and becomes large after the user clicks on it.
Here it is in iOS 10 and iOS 11 side by side (small)

When a user types a card, it becomes full-screen and appears as such (again, iOS 10 - iOS 11):

As you can see, in iOS 11 for some reason it is approaching.
Here is the function associated with clicking on the map:
@objc fileprivate func mapTap(sender: UITapGestureRecognizer){
self.mapViewHeight.constant = self.view.frame.height + 2
self.mapViewToTop.constant = -73
self.mapView.isScrollEnabled = true
self.mapView.isZoomEnabled = true
self.scrollView.isScrollEnabled = false
UIApplication.shared.hideStatusBar(false)
UIView.animate(withDuration: 0.35, delay: 0, usingSpringWithDamping: 1.0, initialSpringVelocity: 0, options: UIViewAnimationOptions.curveLinear, animations: {
self.view.layoutIfNeeded()
self.scrollView.layer.zPosition = 10
}, completion: {
done in
self.mapXButtonTrailing.constant = 20
self.mapXButton.layer.zPosition = 11
UIView.animate(withDuration: 0.2, delay: 0, options: .curveEaseOut, animations: {
self.view.layoutIfNeeded()
}, completion: nil)})
}
And finally: by pressing the X button and canceling the above results, do the following:

This is a little different when it was initially in a small state, since the iOS 11 version did something again with the zoom / install area, slightly decreasing.
, , iOS 11 iOS 10, :
self.region = MKCoordinateRegion()
self.region.center = location
if #available(iOS 11.0, *){
self.region.span.latitudeDelta = delta
self.region.span.longitudeDelta = delta
}else{
self.region.span.latitudeDelta = delta * 3.5
self.region.span.longitudeDelta = delta * 3.5
}
iOS 11 - , iOS 10.