Hey, guys I try to add GestureRecognizer to MKMap...
# compose-ios
и
Hey, guys I try to add GestureRecognizer to MKMapView from https://github.com/JetBrains/compose-multiplatform/blob/master/examples/imageviewe[…]sMain/kotlin/example/imageviewer/view/LocationVisualizer.ios.kt I found a post from 2019, with an example, but it doesn't work (attached picture) Error on click: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MKMapView print] unrecognized selector sent to instance 0x141016c00'
o
I think you need to keep hard reference to the
Target
and make it inherit
NSObject