Post

Replies

Boosts

Views

Activity

App works on iPad but not iPhone!
I have an app that's compatible with iOS 15. Works fine on an actual iPhone 6s device running iOS 15. Works fine on actual iPad device running iOS 17. Works fine on iPhone 13 mini simulator running iOS 17. Will not work properly on actual iPhone 13 mini device running iOS17! It uses a UIViewRepresentable, Coordinator etc, to allow UIKit to be used in SwiftUI. If anyone has any ideas why might not working on the iPhone would be most grateful to hear!
2
0
496
Nov ’23
Integrating UITableView into SwiftUI
I’m looking for advice re integration of UITableView into SwiftUI. I’m doing that because I want control of the table background and row swipe functionality, which I believe is still not available with List in SwiftUI.  I’ve watched WWDC19 tutorial on UIKit Integration, and Rana talks about using the target action pattern, but I can’t work out how that would be done with a TableView. Specifically: I have the UITableView wrapped properly, using a coordinator, and displaying within SwiftUI. But when a row is deleted, I am struggling with how to pass back the deleted row’s indexPath , and how to delete the relevant data within the source array in SwiftUI.  Any help much appreciated!
0
0
251
Sep ’20