clayallsopp / formotion

Making iOS Forms insanely great with RubyMotion
http://clayallsopp.github.com/formotion/
Other
609 stars 103 forks source link

Login View Customisation #111

Closed arkan closed 11 years ago

arkan commented 11 years ago

Hi,

I'd like to know if it would be possible to customise the view to end up with something like this:

https://raw.github.com/escoz/QuickDialog/master/other/quickdialog3.png

Thanks,

clayallsopp commented 11 years ago

You can make that username/password/login-button form, but the styling (colors, image etc) is done outside of Formotion. You would need to use UIAppearance or Teacup or some other mechanism to style the table view. That help?

arkan commented 11 years ago

Thanks for your answer.

Unfortunately I don't have any idea how to show the image above the form.

Any piece of help would be helpful :-)

clayallsopp commented 11 years ago

Sure, in your controller you can do self.tableView.tableHeaderView = my_image_view, where my_image_view is some UIView instance (maybe a UIImageView?)

arkan commented 11 years ago

This is exactly what I needed :-)

Thanks a lot !