Fresh Beginning
  • Home
  • Speaking
  • Reading
  • Github
  • Alma Mater
  • Contact
Subscribe
Tagged

Idea

A collection of 1 post

AutoLayout

Autolayout to size views on different devices

Recently I ran into a not so interesting auto layout problem. I wanted to show a view which would stretch to the full width of iPhone with fixed padding like this However, I also wanted to display the same view on iPad. But not stretching to the full device width.

  • Jayesh Kawli
Jayesh Kawli Nov 27, 2016 • 2 min read
Fresh Beginning © 2022
Powered by Ghost