开发者

SplitViewController's popover UI error when UISearchBar is in focus

When a splitview is in portrait mode, the rootView shows as a po开发者_JAVA百科pover. in this case, my rootView has a tableView with a searchBar at the top. When I tapped the search bar, the keyboard appears, and the splitView's popover automatically adjust its height, but at the same time, I get this in the top of the popover..

SplitViewController's popover UI error when UISearchBar is in focus

Any ideas?

Thanks in advance.


Well.. apparently we have to post this question to get the answer :D, This behavior was caused by the popover's content: there is a tableView whose cells have some custom content. There was a tag assigned for each content, and those tags where numbers from 1 to 5... And that's it!!! when we change the tags from 1 to 5 and set those from 101 to 105 the popover get fixed.

It's not the first time we get this kind of errors related to tag values. So be careful with the tags you're using!!!! =P

Hope this helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜