SORU
4 Mayıs 2009, PAZARTESİ


Nasıl bir iPhone uygulamasından Safari başlatabilir miyim?

Bu oldukça açık bir soru olabilir, ama bir iPhone uygulamasından Safari tarayıcısını başlatabilir?

CEVAP
27 AĞUSTOS 2009, PERŞEMBE


şunlar olmalı :

NSURL *url = [NSURL URLWithString:@"http://www.stackoverflow.com"];

if (![[UIApplication sharedApplication] openURL:url]) {
    NSLog(@"%@%@",@"Failed to open url:",[url description]);
}

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Caramella Girls

    Caramella Gi

    19 Mayıs 2008
  • TheJoeycool2010

    TheJoeycool2

    12 Temmuz 2010
  • Thom Hall

    Thom Hall

    24 Kasım 2006