My view controller will open modal view that is a UITableView subclass. UITableView subclass dont have navigation bar. So how can I add it programmatically ? Because I need cancel button on it to close this modal view.
My view controller will open modal view that is a UITableView subclass. UITableView subclass
Share
Add a table view controller to a navigation controller, and present the navigation controller modally. For example (this is all pseudo-code as I’m not sure of the exact method names):