Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MACloop

macrumors 6502
Original poster
May 18, 2009
393
0
Germany
Hello,
I have a tabBar and a segmentedControl on every view in my app. When the user touches the update button, I get som data via NSURLConnection and parse it. Everything works fine except for when I uses the tabbar and/or the segmentedController at that moment. Then it sometimes crashes.
I have defined the following when the update button is pressed, and when the update is done I put it all to normal again.

self.tabBarController.tabBar.userInteractionEnabled = NO;
self.view.userInteractionEnabled = NO;
self.navigationItem.titleView.userInteractionEnabled = NO;

Is there an alternative way to solve this?

Thanks in advance
MACloop
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.