Post

Replies

Boosts

Views

Activity

Reply to MKMapView appears red on iOS 18 simulator + Xcode 16
I've had the same problem for a while now. I am currently using Xcode version 16.2 (16C5032a). The problem is with the iOS 18.2 and iPhone 16 Pro Max simulator. Not with the iPhone 15 Pro Max Simulator and iOS 17.5. I can also zoom up to 24 meters and the colors remain the same. The problem starts at a zoom range of 1500 meters and not everywhere. Play around with the coordinates from the simulator. It works in Cupertino, San Francisco or other large cities, but not in rural areas. In Europe, the colors are red almost everywhere when zooming.
3h
Reply to UIHostingController adds unremovable NavigationBar
After long attempts, I have the same behavior in my UIKit project and SwiftUI Views with UIHostingController as with just UIKit. In my storyboard, the UIHostingController is embedded in the NavigationController and this in turn is connected to the UITab Bar Controller. The first thing to do is to uncheck "Shows Navigation Bar" in the Attributes Inspector of the NavigationController. In the SwiftUI View I have the list in the NavigationView with the modifier .navigationBarTitle ("ViewTitle", displayMode: .large) and the next SwiftUI Views without NavigationView and the list with .navigationBarTitle ("SecondViewTitle", displayMode: .inline) modifier. The best solution for me.
Nov ’21