, , , .
, , , , ?
, ?
:
@try {
[test characterAtIndex:6];
}
@catch (NSException * e) {
NSLog(@"Exception: %@", e);
}
The above code will not be broken because an exception will be detected. Capturing an exception tells the platform that you took care of the problem so that the application does not need to crash.
There could be many other reasons, but with the information you provided, this is my best guess. You can publish the magazine you see, which will undoubtedly give a better clue ...
source
share