What i want to achieve : I want to creating scrolling list of images like a comic strip where i should be able to provide pinch and zoom. It can contain 100 images.
What i have tried :
UIScrollView -> UIView -> UIImageView : The problem in this approach is that i get the zooming effect but the time taken to create the strip is around 5 sec and the memory consumption of the app becomes high.
UIScrollView -> UIView -> UITableView -> UITableViewCell -> UIImageView : This resolves loading issue , memory issue . But the problem is with Zooming . I cannot achieve the same effect of Zooming on UITableView. I added the pinch gesture on the UITableView it zooms and scrolls vertically but horizontal effect is not achieved.
UICollectionView -> UIImageView : This also resolves loading issue , memory issue but has same problem with zooming as it zooms a particular cell but after zooming to certain effect the cell disappears . And its also not uniformly applied to all UICollectionViewCells.
Any reference or code or idea's really appreciated.
Aucun commentaire:
Enregistrer un commentaire