I trying to fix a strange bugg. People with IOS 4 can’t even start my app after the update before it crashes. IOS 5 devices works great.
The things that comes to mind that I added in the last update is blocks. But block should work on ios4, right?
IOS 4.3 simulator works great, but a 4.2.1 3GS crashes on the dispatch_async code below.
I know there isn’t much info here, but any suggestion would be appriciated.
Thanks in advance
1.
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND,0), ^(void)
{
dispatch_async(dispatch_get_main_queue(), ^(void)
{
2.
[UIView animateWithDuration:0.25f animations:^
{
myView.alpha = 0;
}];
See my answer to this question. The problem is
DISPATCH_QUEUE_PRIORITY_BACKGROUND.