iOS : How to make a CGRect as visible rect for UIView? -
i drawing line graph in uiview width of 1200pixels. can visible 320pixels. how can make rectangle starting x=880 , width = 320 visible?.
you can draw graph @ 880px using following way.
step 1 : take uiscrollview
width = 1200
.
step 2 : add uiview
in uiscrollview
having x position = 880 , width = 320;
now can draw graph on uiview
. received output same want.
hope you.
Comments
Post a Comment