Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Class userLocationClass = NSClassFromString(@"MKUserLocation");
- if ( userLocationClass != nil ) {
- MKUserLocation *userLocation = [[userLocationClass alloc] init];
- // Use userLocation
- [userLocation release];
- }
Add Comment
Please, Sign In to add comment