ios - Correct way to zoom UIScrollView with many images? -


which correct way zoom image in uiscrollview many images?

in depth, have contentview (uiview) uiimageview(s) subviews.

i'm trying return current showed uiimageview in viewforzoominginscrollview: doesn't work :-(

func viewforzoominginscrollview(scrollview: uiscrollview) -> uiview? {     return imageviews[self.currentindex] } 

- (void)viewdidload {      [super viewdidload];      self.scrollview.minimumzoomscale=0.5;      self.scrollview.maximumzoomscale=6.0;      self.scrollview.contentsize=cgsizemake(1280, 960);      self.scrollview.delegate=self;  } 

Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -