Post

Replies

Boosts

Views

Activity

Comment on "canOpenURL:" on a thread that isn`t main thread?
Xcode (Version 26.0 (17A324)), iOS [(14.2),] macOS (15.7.1 (24G231)) [Main Thread checker] opened dispatch_async(dispatch_get_global_queue(0, 0), ^{ BOOL result = [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"tbopen://"]]; NSLog(@"result = %d", result); }); In the Documents: Discussion: "You can call this method safely on a thread that isn’t the main thread."
Topic: UI Frameworks SubTopic: UIKit Tags:
3w