Post

Replies

Boosts

Views

Activity

Reply to Xcode 14: [Assert] UINavigationBar decoded as unlocked for UINavigationController
I think I had the same issue before. Recently, when I updated my Xcode to 14.3, my iOS app crashed right at the launch time. I posted my question to StackOverflow. With some developer hints and advice, I finally got the issue found and the problem resolved. See my post question at SO: iOS app crashes built by Xcode 14.3: Cannot manually set the delegate on a UINavigationBar
Topic: UI Frameworks SubTopic: UIKit Tags:
May ’23
Reply to Unselect cell in tableview if the cell is visible
Finally, I found a solution to resolve the issue. I think this may be a bug in UIKit. At least in my case, the visible cells can be unselected, but the unselection programmatically does present an issue. I wrote a blog to discuss the issue in detail, and I put my solution at the end. https://davidchuprogramming.blogspot.com/2022/09/unselect-cell-in-tableview-if-cell-is.html
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’22
Reply to Xcode 14: [Assert] UINavigationBar decoded as unlocked for UINavigationController
I think I had the same issue before. Recently, when I updated my Xcode to 14.3, my iOS app crashed right at the launch time. I posted my question to StackOverflow. With some developer hints and advice, I finally got the issue found and the problem resolved. See my post question at SO: iOS app crashes built by Xcode 14.3: Cannot manually set the delegate on a UINavigationBar
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to Unselect cell in tableview if the cell is visible
Finally, I found a solution to resolve the issue. I think this may be a bug in UIKit. At least in my case, the visible cells can be unselected, but the unselection programmatically does present an issue. I wrote a blog to discuss the issue in detail, and I put my solution at the end. https://davidchuprogramming.blogspot.com/2022/09/unselect-cell-in-tableview-if-cell-is.html
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to A Problem with Plural Localization
I got an answer about the issue. See https://stackoverflow.com/questions/73428885/a-problem-with-plural-localization-in-swift
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Call Swift functions from JS
I got the issue resolved by using WKScriptMessageHandler. I wrote a blog about this: Building a Bridge Between Swift and JS: https://davidchuprogramming.blogspot.com/2022/08/build-bridge-between-swift-and-js.html
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to How to add WebKit Entitlement
I was told that I can ignore the error message. I have uploaded to TestFlight, my testers can open view controller with WKWebView and no any crash.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Error while using WKWebView in SwiftUI: target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit
I have the same issue in my debug console (error message: "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit"). It seems I have to add the entitlement to my project. How to do it in Xcode? Appreciate any help.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’22