infinitered / rmq

RMQ - RubyMotionQuery
MIT License
307 stars 52 forks source link

constant button on top of scrollView? #301

Closed xikimay closed 9 years ago

xikimay commented 9 years ago

I know that is not an issue, but i was just wondering if it's possible with rmq to add a button on top of a scrollView and make the button remain in a constant position ?

thanks

GantMan commented 9 years ago

Append the button to the same superview as the scrollview. That should work.

xikimay commented 9 years ago

Ok thanks for that , and over a TableScreen ?

squidpunch commented 9 years ago

You could put it in the table header. But if you want it on screen all the time. You'd probably have to attach it to the window rather than the controller view.

If you do that remember that it's going to always be there unless removed. In other words navigating to another controller will still show this item attached at the window level unless you clean it up on any case another view is going to be rendered.

xikimay commented 9 years ago

Ok that was actually what i thought, anyway thank you for the answers :)