Permalink
Browse files

run on iOS 5

  • Loading branch information...
1 parent 9d3c233 commit fe143e6d4615dba8f9e1d4498fab8eddfba5a2f0 @nst committed Jun 7, 2011
Showing with 446 additions and 11,006 deletions.
  1. +5 −0 Classes/SPWifiMapVC.m
  2. +406 −10,968 SpyPhone.xcodeproj/nst.pbxuser
  3. +35 −38 SpyPhone.xcodeproj/nst.perspectivev3
@@ -38,7 +38,12 @@ - (void)viewWillAppear:(BOOL)animated {
MKCoordinateSpan span = MKCoordinateSpanMake(0.03, 0.03);
MKCoordinateRegion region = [mapView regionThatFits:MKCoordinateRegionMake(annotation.coordinate, span)];
+ @try {
[mapView setRegion:region animated:NO];
+ } @catch (NSException *exception) {
+ NSLog(@"-- %@", exception);
+ } @finally {
+ }
}
- (void)viewDidAppear:(BOOL)animated {
Oops, something went wrong.

0 comments on commit fe143e6

Please sign in to comment.