ios - How to implement custom UIView which is scrollable/zoomable? -


I want to create a "timeline" view. I'm comfortable with the GraphicsContext drawing API and I'm using it in the drawRect: method.

This is for one more user) To create a sub-class UIScrollView or b) to make it viewable / scrollable / zoomable, to embed my custom True / idiomatic way. See UIScrollView in stockboard inside stockboard?

How can I contact my "desired limit" in the scrolling machinery, depending on the one I use? And how can I know about my drawing code about the current scale / scroll, so I can attract properly.

(I've done google for this, and no recent and simple dishes have been found for this)

subclass or do not embed a UIScrollView as a view controller's outlet. UIScrollView is available from UIView so that you can treat it as a normal UIView outlet of your view controller, Can scroll.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -