How to add a detailed view to a page view controller on button click

162 Views Asked by At

I am doing a project using page view which presents a label and a picture of a product. My idea is to put a button on each page which will present another view controller with detailed information about the product on the current page. The problem is that I can't come up with an idea how to achieve this. I will be very thankful if you help me achieve this.

Thanks in advance

1

There are 1 best solutions below

2
emresancaktar On

I think you just new started to develop iOS Apps. So I would not give the code snippet for your project but I can give you a tip about your achieve.

You want to create Master - Detail Page View. It's very common pattern in iOS Development.

You can create Master-Detail Application theme in xCode. If you want to another information, you can search on Google or StackOverFlow with master-detail keyword.