objective c - Arrange small images inside large UIImageView and zoom it in IOS -
i have project needs arrange 81 small images(tiles) in large uiimageview
, zoom uiimageview
. have make 3 such uiimageviews
(example: red tiles, blue tiles , yellow tiles [all 3 belongs single sheet]) , switch 1 depending upon zoom scale.
i have done using catiledlayer
.but not able switch 1 ,that means red yellow) depending upon zoom scale. using catiledlayer shows tiles loading in screen not acceptable client.
what have done yet....
i put small images inside small uiimageviews. arranged uiimageviews inside large uiimageview. made 3 such large uiimageviews.i added uiscrollview main view subclassing , adding 1 of uiimageview it. able switch red yellow , vice versa depending on zoom scale. problem when make 3 large uiimageviews shows memory warning continuously , when press next button load next sheet (with 3 similar large uiimageviews), application crashes.
please me , resolve issue because in big trouble.
many many in advance.
Comments
Post a Comment