Display data in two different TableView in the same View in Swift

前端 未结 1 587
闹比i
闹比i 2021-01-27 19:10

I\'m creating an app for iPad, and because of their size decided to do something a little different. I\'m creating something like this:

I am using two UITableVi

1条回答
  •  后悔当初
    2021-01-27 19:28

    Just add two Containers to your View Controller and drag from the container view to your desired Table View Controller and click embed. Then you'll need to make two separate UITableViewController Cocoa files and assign them to the table view in your Identity Inspector.

    In this picture I've already attached the container on the left to my Table View Controller on the left.

    0 讨论(0)
提交回复
热议问题