uitableview - Autolayout for uitableviewcell using xcode 6 -


my app designed ipad landscape using xcode 6. rendered portrait version of ipad too. how achieve same using autolayout below image.

design using xib: uitableviewcell's content

the above image cell contents of uitableviewcell. tried providing constrains.

after providing constrains, got result as

  1. in landscape runtime result in landscape

  2. in portrait runtime result in portrait

i want see labels screen. if width exceeds labels multiline , autoheight calculation had been implemented in tableview.

the problem i'm unable labels fit on screen fixed horizontal spacing shown in design time.

i need render design tableviewcell.

just try provide width of these labels aspect ratio , specify width between labels fixed(10 or 20). might work.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -