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

Popular posts from this blog

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World