Post

Replies

Boosts

Views

Activity

iOS15 and 16 no longer supports obscuresBackgroundDuringPresentation for UISearchController
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?
0
0
863
Oct ’22
No replacement for MKMaptype globe view in iOS16?
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?
Replies
2
Boosts
0
Views
1.8k
Activity
Apr ’23
iOS15 and 16 no longer supports obscuresBackgroundDuringPresentation for UISearchController
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?
Replies
0
Boosts
0
Views
863
Activity
Oct ’22