Closed dhf0820 closed 8 years ago
Yeah it's a valid warning.
You'll want to use an UIImageView or use background_image that styler isn't on UIView
Thank you. That will cure me from using examples to learn from. The example was wrong.
No worries! Is this an example in the redpotion docs? I can update of so!
I will attempt to find it again. It was an example of an RMQ. What is really needed is how to handle keyboard showing (with moving the frame up/down) and hiding plus the textFieldShouldReturn the RMQ/PM way.
I am trying to add an image to a layout using st.image = image.resource('icon_msg') in the stylesheet. I tried it even with a default image that is part of the template.
I get: Sorry, image= is not implemented on RubyMotionQuery::Stylers::UIViewStyler. This will produce a crash when not in debug mode.
This is on RP = 1.5.0, ruby_motion_query (>= 1.7.0) from Gemfile.lock