iphone - Any way to draw Core Graphics in the contentView of a UIScrollView -
i wondering if possible draw core graphics in content view of scroll view because @ moment, in drawrect
section of uiscrollview, draws on static view , when scroll content view, graphics stay still... (which means i'm not drawing in right view)
do have create uiview subclass , draw there , add uiscrollview, while handling zooming , scrolling uiscrollview
or - there way can keep in 1 subclass of uiscrollview!
(i hope makes sense!) thanks!
typically, don't draw in uiscrollview directly. uiscrollview container view scrolls 1 content view or several tile views. should add content view(s) addsubview:
, position them needed. scroll view handle scrolling , zooming.
Comments
Post a Comment