Hacker News new | ask | show | jobs
by spike021 1405 days ago
Same here. Have had to use UIViewRepresentable a few times to make use of UIKit features that SwiftUI doesn't support. Specifically, MapKit is incredibly barebones in SwiftUI, so I couldn't use it at all. Had to use an MKMapView through a UIViewRepresentable instead; this is so I could do things with custom overlays, even as simple as paths between two coordinates.