Closed xdotcommer closed 11 years ago
Specify the :input_accessory
property, which will show a UIToolbar
above the picker:
{
type: :picker,
input_accessory: :done
}
As for Teacup styling, there should be, but I'm not super familiar with how Teacup works and don't know off the top of my head. Check the RubyMotion group?
Great, thanks!
-Mike
On Wed, Jul 17, 2013 at 10:13 PM, Clay Allsopp notifications@github.comwrote:
Specify the :input_accessory property, which will show a UIToolbar above the picker:
{ type: :picker, input_accessory: :done}
As for Teacup styling, there should be, but I'm not super familiar with how Teacup works and don't know off the top of my head. Check the RubyMotion group https://groups.google.com/forum/?fromgroups#!forum/rubymotion?
— Reply to this email directly or view it on GitHubhttps://github.com/clayallsopp/formotion/issues/126#issuecomment-21158535 .
Perhaps I'm not doing something properly. When I run an app using formotion in the simulator I can press enter to dismiss the picker control; however, on the device itself there seems to be no way to dismiss the picker control.
Also, as an aside, is there a way to style forms using teacup (or in general)?
Absolutely amazing gem!
Thanks