没事情折腾自己的App,想把 arg2 替换掉,就下面这样写了
- (void)locationManager:(id)arg1 didUpdateLocations:(id)arg2
{
NSArray *array = [NSArray arrayWithObject:arg2];
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@“Welcome”
message:[NSString stringWithFormat:@"%@",arg2]
delegate:nil
cancelButtonTitle:@“Thanks”
otherButtonTitles:nil];
[alert show];
%orig(arg1,array);
}
果断闪退,快把自己折腾成煞笔了,,求大神指点,