Problem with interactive 3d object


I am having trouble with a part of an app I'm making using swift. I currently have a cuboid object where the user can essentially rotate it. I want to add to a function for when the user taps on a section on the cuboid, it goes to another page. How could I go about this?


This does not involve Swift the language, rather, whatever application frameworks you are using to build the application. You would be better off asking your question on a relevant site that deals with your application environment. For example, if you are targeting Apple devices, you might want to ask your question on the Apple developer forums, or StackOverflow, or the other Apple developer sites.

Your questions sounds pretty open-ended and vague. Have you looked at the developer documentation for your platform? How did you build the cuboid? I think you need to be more specific about what your problem is.