Update
I also experience the same problem, calls +animateWithDuration:animations:completion:work fine on the device, but crash on the simulator.
[UIView animateWithDuration:0.5
animations:^{
NSLog(@"Begin");
}
completion:^(BOOL finished){
NSLog(@"End");
}];
As you can see, I do not get access to any other objects, and it will still break with EXC_BAD_ACCESS .
Update 2
It only seems to crash if you pass blockin completion:, the NULL pass is fine.
[UIView animateWithDuration:0.5
animations:^{
NSLog(@"Begin");
}
completion:NULL];
Original question
I use the phone for development mainly because I used a library that was not compiled for Intel, but now switched back to the simulator to speed things up.
, UIView animateWithDuration, . . SDK 4.3.1 () 4.0 .
, ?
[UIView animateWithDuration:0.5 animations:^ {
mapTableOverlay.alpha = 0.8;} completion:^(BOOL finished){}]
EXC_BAD_ACCESS . ....