I have UITableViewinside a UITabBarController.
When i call
[[self navigationController] pushViewController:myViewController animated:YES];
no problems.
But, when I call the same line from within UIActionSheetDelegate, for example:
- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
I get it EXC_BAD_ACCESS.
It seems that calling this line from another thread is causing this problem.
How can I prevent this problem EXC_BAD_ACCESS?
(note that myViewController is NOT nil or something like that)
thank!
source
share