Reputation: 419
I try to add a custom button programmed. However, if I have a static table view in storyboard, how can I add a button at the bottom of the screen?
Upvotes: 0
Views: 547
Reputation: 37
You Must have any parent UIView there in which you have added STATIC UITableView, You can just need to assign negative position (X and Y ) for that parent view, So that parent UIView will get slide upside.
Now you can view the bottom so you can add what ever you want, Once you finish adding your controls, reset (X and Y) to 0 as before.
Hope this will help you, :)
Ajay Mahajan
Upvotes: 0
Reputation: 1547
Make another UIViewController
in which you add a Container View
linked to your table view. Besides that container view you may add any other controls (eg. UIButton).
Upvotes: 1