iOS Team Technical Fanboy
  • Home
Subscribe
Tagged

transform

A collection of 1 post

objective c

Scaling a UIView with subviews staying the same size

Easiest way to scale a UIButton or a UITableViewCell is to set a transform on it: view.transform = CGAffineTransformMakeScale(1.5f, 1.5f); If this works for you that's perfect, but sometimes some subviews start looking bad when zoomed in, especially images and text. To make the UIView zoomed in,

  • Aleksander Balicki
Aleksander Balicki Nov 1, 2014 • 1 min read
iOS Team Technical Fanboy © 2022
Powered by Ghost