Here I have a picker with a Textfield above;however,these non-selected data row will cover my textfield lead me into the situation of unable to click the textfield to input data, thus I'd like to reduce the number of non-selected row appearance.Yes indeed I could lift up the position of textfield,but the visual effect will be unbalanced.Is any other way to go?
Asked
Active
Viewed 32 times
0
-
set the Frame for your picker. – Shamsudheen TK Jan 07 '14 at 03:13
-
I had add frame in my pickerview (which will be added into my popover view), but it can just move the position for y position? any idea? – Mustang018 Jan 07 '14 at 03:39
-
play with its "content" size. – Shamsudheen TK Jan 07 '14 at 03:42
-
if you are not so strict to stick with UIPIcker, do you mind using another custom control that enables you the granular control over the selectiontoo. ?? – Balram Tiwari Jan 07 '14 at 05:37
-
You can use the `WYPopOverController` which is intelligent enough to figure out where you have tapped so which direction should it pop to, giving you an alternative to un-hide the `UItextField`. [WYPopOverController](https://github.com/nicolaschengdev/WYPopoverController) – Balram Tiwari Jan 07 '14 at 05:45
-
I think I will just use uipicker,cuz for this part to third party controler is not ecomically for my case,But still tanks for your advise ^^ – Mustang018 Jan 07 '14 at 05:47