ios - UI loads off centre whilst the Facebook login button works perfectly -


i relatively new user-interface design. question when setting storyboard of ui lined expected when run on ios simulator , ui pushed on right whereas facebook button laid out expected. doing wrong?

ios simulator ui

how dealing autolayout? if don't use autolayout views randomly appear placed correctly when run in simulator. make think there wrong when in fact expected behavior when not using autolayout.

if want "sign in", "forget password", , "create account" labels centered, follow these steps.

  • command click on labels.
  • go bottom of storyboard pane , select little button looks smaller rectangle on top of longer one.
  • in menu select "horizontally in container"
  • click "add constraints" button below.

you should other view appear horizontally centered.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -