Fix iron_load_url on ios

This commit is contained in:
luboslenco
2025-09-01 14:18:42 +02:00
parent 4ba39c0ee8
commit e54e472d57
+2 -1
View File
@@ -147,7 +147,8 @@ bool iron_keyboard_active(void) {
}
void iron_load_url(const char *url) {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithUTF8String:url]]];
NSURL *nsURL = [NSURL URLWithString:[NSString stringWithUTF8String:url]];
[[UIApplication sharedApplication] openURL:nsURL options:@{} completionHandler:nil];
}
const char *iron_language(void) {