Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 0    Views: 108

AussieRyan
Aspiring developer
Profile
Posts: 148
Reg: Mar 21, 2012
Margate, QLD Au...
1,480
01/06/14 03:08 PM (11 years ago)

Location Map plugin errors

Updated server SH v3.0 Latest Location Map plugin v1.5 Screen loads and displays correctly. If Control Panel option: Map Behaviour > Show map type buttons > Yes, show the buttons is selected, Map display buttons show on screen but crash and dump the app in iOS6.1 and crash and freeze the app in iOS 7 log entries: 2014-01-07 07:54:37.382 xxxx[1160:70b] -[BT_screen_map showMapType]: unrecognized selector sent to instance 0x19892b80 2014-01-07 07:54:37.415 xxxx[1160:70b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[BT_screen_map showMapType]: unrecognized selector sent to instance 0x19892b80' which I guess revolves around this code in BT_screen_map.m: //shows map type -(void)showMapType:(id)sender{ if([sender tag] == 1){ [self.mapView setMapType:MKMapTypeStandard]; [BT_debugger showIt:self theMessage:[NSString stringWithFormat:@"showMapType: %@", @"standard"]]; } if([sender tag] == 2){ [self.mapView setMapType:MKMapTypeSatellite]; [BT_debugger showIt:self theMessage:[NSString stringWithFormat:@"showMapType: %@", @"terrain"]]; } if([sender tag] == 3){ [self.mapView setMapType:MKMapTypeHybrid]; [BT_debugger showIt:self theMessage:[NSString stringWithFormat:@"showMapType: %@", @"hybrid"]]; } }
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.