Adding the Pinch / Zoom effect to a UIImageView inside a UIScrollView

I have a very simple iPhone app with a screen, I have successfully added a pinch / zoom effect to my application using UIImageViewinside UIScrollView.

UIImageViewreceives the contents of the screen from the PC at a regular interval. Everything works fine, but as soon as I scroll / click / enlarge it, it works first and then stops, and the delegate method, which updates the image contents, stops turning on, even though the server still sends the contents of the screen. The whole application seems to be frozen, but there are no error messages / exceptions / whatever. Can someone help me please?

+3
source share
1

NSDefaultRunLoopMode, UIAPPlication UITrackingRunLoopMode , . UIAPPlication NSDefaultRunLoopMode UITrackingRunLoopMode, NSDefaultRunLoopMode , UIAPPlication NSDefaultRunLoopMode.

, NSDefaultRunLoopMode NSRunLoopCommonModes.

, runloop , . NSDefaultRunLoopMode .

+4

All Articles