开发者

Touch above the uiTabBar

I have an app that has an UITabBarController. I've noticed that there are like开发者_开发问答 15 pixels above the tab bar that will push the button under it. And there are like 10 more pixels that don't do anything.

The problem is that i have some button in the view that are quite close near the bar bar and when i try to touch them, the tabbar buttons get pushed.

It seems like this is standard behavior for standard UI elements. I've noticed that the buttons from the navigation bar have the same efect

Regards, George


Some times I get this problem when i am using action sheets top of the tab bar. The button is in top of the tab bar is hard to click. Only part of the button is clicking. So what I am doing there is adding the action sheet from the parentview controller.

[actionSheet showInView:self.parentViewController.tabBarController.view];

After doing this button is working perfectly. I think you can add the button to your app like this too. Hope this will help. Thank you.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜