Comment on _dispatch_assert_queue_fail under iOS 16.4.1. Don't understand the error. This was indeed what caused the issue. I was able to fix it by simply executing the UIButton manipulation on the main thread. Thank you very much! UI Frameworks UIKit May ’23