开发者

UITabBar ignoring occasional "clicks"

I'm working on an iPhone app that has a UITabBar. Occasionally the tab bar ignores my "clicks" (or "taps", or whatever they're called in the iPhone world). It happens on both the simulator and the on the device. Clicki开发者_如何转开发ng on a tab bar button won't result in any action, and I have to click it several times for the expected action to occur.

Can anybody shed any light on what might be causing this issue, or how I can go about debugging it?


I read somewhere that the UITabBar becomes unresponsive when it is not the immediate child of the window. It can be something like that or you might have a UIScrollView or some other view interfering with your UITabBar.

P.S Click is correct for buttons, including tabs. For others, a widely used term is touch.


This might be happening bcoz the view is not getting loaded when you click on the tab. Are you using any url request in the -(void)viewDidLoad method. If this is the case may be ur internet is workin slowly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜