mkmapitem

    2熱度

    1回答

    因此,我使用NSClassFromString檢查用戶是否安裝了iOS 5或iOS 6以使用Apple的新iOS 6 MKMapItem。這是代碼: - (void)openDirections:(id)sender { Class mapClass = NSClassFromString(@"MKMapItem"); if (mapClass == nil) {

    10熱度

    1回答

    如何啓動iOS6的默認地圖應用並將其傳遞到自定義位置? 例如: [[MKMapItem setLocation:MyLocation] openInMapsWithLaunchOptions:nil]; 我跟着這裏的例子,但未能弄清楚。 How can I launch the Google Maps iPhone application from within my own native a