ios - Calling UITapGestureRecognizer on specific views in a viewcontroller -


i have 4 views in view controller. want call specific function on touching specific view example if touch on view 1 in iphone screen, want call corresponding function.

i have view controller , 4 views in storyboard. how can load specific views in code , on view touch implement function.

individual touch gesture 4 views corresponding selector methods work.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -