Before iOS16, Map can be displayed as a globe by setting MapType as either SatelliteFlyover or HybridFlyover constant
https://developer.apple.com/documentation/mapkit/mkmaptype
With iOS16 the MKMapType is deprecated but I couldn't find any equivalent of a 3d globe view in the new preferredConfiguration of MKMapConfiguration.
Is it no longer possible?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
On previous iOS versions, these lines create a UISearchController that, when clicked, dims the background underneath.
import UIKit
class ViewController: UIViewController {
let searchController = UISearchController()
override func viewDidLoad() {
super.viewDidLoad()
self.navigationItem.searchController = searchController
}
}
On iOS 15 and 16, this is no longer the case, the background is not dimmed by default
And setting the obscuresBackgroundDuringPresentation to true dims the search bar itself.
Is there a solution to only obscure the background and no the bar?