How can we create custom view over UITableViewController in Swift (StoryBoard)?

744 Views Asked by At

I am using a UITableViewController for create an album in my iOS application. Now i want to create a custom view over the UITableViewController. The view must have two button for MOVE and DELETE. how can I achieve this scenario in swift? is it possible to design the custom view in storyboard?

2

There are 2 best solutions below

2
AudioBubble On BEST ANSWER

Try to drag a normal view and put on the top of your UITableView enter image description here

It will seen like this

enter image description here

You can set an IBOutlet to it. Set its frame. Add buttons and add it to your view like any other views

self.view.addSubview(THIS_VIEW)
0
Nathaniel Gonzales On

From storyboard add a view controller, once you have added it insert a table view object (Not table view controller) and a view anywhere you want.