I am implementing a TableViewController. I would like to create the table view with a specific width and height. I tried using initWithFrame and also setting the frame within viewDidLoad. How can I achieve this behavior?
I am implementing a TableViewController. I would like to create the table view with
Share
You could just have a regular UIViewController and add a Table View in it.
Then resize it either with the interface builder or by setting its frame.
Don’t forget to set the table view dataSource and delegate to the view controller.