URLスキーム

Apple URL Scheme Reference
Google Maps URL Scheme
NAVIelite
URLスキームを用いて、NAVIeliteに目的地をセット(一般道路版)
[objc]
//動作確認 ok!! NAVIelite
//NSString *url_str = [NSString stringWithFormat:@"navielite://open?latitude=%@&longitude=%@&title=%@",@"34.923273",@"137.21810",@"dest"];

// ①オープン open 版
//NSString *url_str = [NSString stringWithFormat:@"navielite://open?latitude=%@&longitude=%@&title=%@",lat_srt,lon_str,dest_name];

// ②ルートセット routeset 版
// 動作確認 テスト版 ok!!
//NSString *url_str = [NSString stringWithFormat:@"navielite://routeset?poi1=%@,%@&poi1kind=%@&poi1title=%@&poi1rflg=%@&poi1sflg=%@",@"34.923273",@"137.21810",@"dest",@"dest",@"dest",@"0"];
// 動作確認 テスト版 ok!!
NSString *url_str = [NSString stringWithFormat:@"navielite://routeset?poi1=%@,%@&poi1kind=%@&poi1title=%@&poi1rflg=%@&poi1sflg=%@",lat_srt,lon_str,@"dest",dest_name,@"dest",@"2"];

NSURL *directionsURL = [NSURL URLWithString:[url_str stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];

[[UIApplication sharedApplication] openURL:directionsURL];
[/objc]

URLスキーム

Apple Map URL Schemeでアプリ起動

stack over flow (iOS Apple Map native links – URL Scheme examples)

URL Scheme でアプリ起動 – [開発] – Google Maps SDK for iOS

Apple Map URL Schemeでアプリ起動 – [開発] – iOS SDK Map Links

GoogleMapsがインストールされている場合

SearchBAR

平成26年10月13日
——————————–
hファイル
@property Boolean IsSearchTable;
——————————–
mファイル
if (IsSearchTable==YES) {
//on_off.enabled = NO;
on_off.hidden = YES;
}
——————————–

//—————————————————————————-
-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
if ([[segue identifier] isEqualToString:@”showDetail”]) {
if(sender == self.searchDisplayController.searchResultsTableView) {
// サーチビュー
//[[segue destinationViewController] setIsSearchTable:YES];
}
else {
// ノーマルビュー
//[[segue destinationViewController] setIsSearchTable:NO];
}
}
}
//=============================================================================

Bottom Bar

平成26年10月9日(木曜日)
Bottom BarがPUSH後、表示されない件について

storyboard 「hide bottom bar push」のチェックを外す。

サーチバーで使用するテーブルの高さ

平成26年10月8日(水曜日)
[objc]
//—サーチバーで使用するテーブルの高さ—
//—————————————————————————————-
– (void)searchDisplayController:(UISearchDisplayController *)controller didLoadSearchResultsTableView:(UITableView *)tableView
{
tableView.rowHeight = 80.0f; // or some other height
}
//—————————————————————————————-
[/objc]

iOS8 におけるMapKit現在位置不具合

平成26年10月7日(火曜日)
Supporting Files
☓☓-Info.plistに以下追加
NSLocationWhenInUseUsageDescription YourAppName would like to use your location.
NSLocationAlwaysUsageDescription YourAppName would like to use your location.

hファイル
//追加 iOS8対応 現在位置表示不具合
@property(nonatomic, retain) CLLocationManager *locationManager;

mファイル
//追加 iOS8対応 現在位置表示不具合

[objc]
//追加 iOS8対応 現在位置表示不具合
locationManager.delegate = self;
self.locationManager = [[CLLocationManager alloc] init];
if(IS_OS_8_OR_LATER) {
[self.locationManager requestWhenInUseAuthorization];
[self.locationManager requestAlwaysAuthorization];
}

[self.locationManager startUpdatingLocation];
//————ここまで————————-
[/objc]