lundi 1 décembre 2014

add constraint to view in Xcode 6

I wanted to add an image but stackoverflow doesn't allow me to upload any photo because of the reputation issue.


anyway,


I have an iOS project with Xcode 6.


I made a view controller and added a table view.


================

view controller

- Top Layout Guide

- Bottom Layout Guide

- View

+- Table View


after that, I added a view and a table view cell


================

view controller

- Top Layout Guide

- Bottom Layout Guide

- View

+- Table View

++- View

++- Table View Cell


My problem is that the height of View of Table View is about 30 on Story board. But while running simulator, Table View Cell is almost at the bottom. But I cannot add constraint to set the height of View of Table View.


Thank you in advance!




Aucun commentaire:

Enregistrer un commentaire