Auk icon indicating copy to clipboard operation
Auk copied to clipboard

photo has userInteraction = NO

Open Verteletsky opened this issue 5 years ago • 3 comments

  • Library setup method: CocoaPods
  • Version of the library. 'moa', '> 10.0' 'Auk', '> 9.0'
  • Xcode version. Example: 10.1
  • OS version. Example: iOS 12.1.1

I use the CollectionView inside of which there is a Cell, and in the xib file I have a ScrollView, how can I handle clicking on a photo, when the photo has userInteraction = NO, I can't get to it

Verteletsky avatar May 12 '19 21:05 Verteletsky

Hi @Verteletsky, what do you want to accomplish by clicking on a photo? Here is how to respond to a tap, if that's what you need.

evgenyneu avatar May 12 '19 21:05 evgenyneu

@evgenyneu да, я хочу обработать нажатие, но у фотографии userInteraction = no, потому что у меня scrollView находится в ячейке в коллекции

Yes, I want to process the click, but the photo has userInteraction = no, because my scrollView is in a cell in the collection

Verteletsky avatar May 13 '19 06:05 Verteletsky

@Verteletsky there is a section in the readme called Respond to image tap that might help. Let me know if that works for you.

PS. Good to see Russian language. :)

evgenyneu avatar May 13 '19 07:05 evgenyneu