I’m trying to get the user interaction in iOS application, For example where user clicked, which button user clicked etc. is there is any way to capture these details in Xcode swift?
Question posted in Xcode
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
2
Answers
You may do that like this:
If you have multiply sender that invoke the same method, you can give them a tag for each. then you can detect which view invoke the event.
Better you can use tag values and tap gesture to identify the user interaction