iOS Team Technical Fanboy
  • Home
Sign in Subscribe

objective c

A collection of 2 posts
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
01 Nov 2014 1 min read
objective c

Human Interface Guidelines compliant UIButton subclass

iOS Human Interface Guidelines [https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LayoutandAppearance.html] tell us: > Make it easy for people to interact with content and controls by giving each interactive element ample spacing. Give tappable controls a hit target of about 44 x 44 points. Sometimes
05 Sep 2014 2 min read
Page 1 of 1
iOS Team Technical Fanboy © 2025
Powered by Ghost