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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -