私の知る限り、私は何か間違ったことをしているとは思いませんが、次のようになっています。
2011-04-02 14:55:23.350 AppName[42430:207] nested push animation can result in corrupted navigation bar
2011-04-02 14:55:23.352 AppName[42430:207] nested push animation can result in corrupted navigation bar
2011-04-02 14:55:23.729 AppName[42430:207] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
2011-04-02 14:55:23.729 AppName[42430:207] Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
これが私のコードです
- (IBAction) btnGetCurrentLocation{
[SVProgressHUD showWithStatus:@"Getting current location..."];
locationManager = [[CLLocationManager alloc] init];
locationManager.desiredAccuracy = kCLLocationAccuracyBest;
locationManager.delegate = self;
[locationManager startUpdatingLocation];
[SVProgressHUD dismiss];
}
- (void)locationManager:(CLLocationManager *)manager
didUpdateToLocation:(CLLocation *)newLocation
fromLocation:(CLLocation *)oldLocation {
[locationManager stopUpdatingLocation];
CLLocationCoordinate2D coordinate = newLocation.coordinate;
LocationMapViewController *locationMapViewController = [[LocationMapViewController alloc] initWithNibName:@"LocationMapViewController_iPhone" bundle:nil];
locationMapViewController.title=@"Your Title";
locationMapViewController.centerOfMap = &(coordinate);
[self.navigationController pushViewController:locationMapViewController animated:YES];
}
私はそれをグーグルで検索しましたが、ほとんどの場所でアニメーションの配置について話しています:いいえ、しかし、次の画面に地図が表示されません.