I’m trying to set the position of a table view on the screen, i tried to do it on IB but it doesn’t seem to be working is there a way to do it programmatically or am i missing something in IB i set the X and Y on the view part it shows the table view moving but it doesn’t work when i run the app.
Share
If you are using a
UITableViewControllerthen you will not be able to change the position of theUITableViewsince the main view of your application will be aUITableViewInstead you will have to change the class of the
UITableViewControllertoUIViewControllerThen in the xib file, Drop a
UITableViewinside the main view, and change the x and yThis way it should work