ios - How can i get tags for multiple imag views with Touches moved? -


I need to get the image to see the image by touching me. I have 10 image views and tags are from 1 to 10 I need to

  - Increase the touch of (zero) touch: (NSSet *) touches with the avant:  

(UIEvent *) event {CGPoint location = [[touches any object] scene in location: self.view]; CGRTingReg = CGRactMake (location.x, location.a, 1, 1); (See UIImageView * self.view.subviews) {CGRect subviewFrame = view.frame; If (cgttt intactAct (fingeractive, subviewfrem)) // we have finally seen the hidden view}}}

but I do not want to use the for the loop

Thank you.

Use this:

  UIView * touchedView = [self. View hitTest: document with place: zero];   

With this place, you get a hidden object, in your case there is UIImageView.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -