UIView’s frame, bounds, center, origin, when to use what?
UIView has the properties frame, bounds, center, and origin, and they all seem to be interrelated. Most of the time, I deal with … Read more
UIView has the properties frame, bounds, center, and origin, and they all seem to be interrelated. Most of the time, I deal with … Read more
Is there a built-in way to get from a UIView to its UIViewController? I know you can get from UIViewController to its UIView … Read more
Is it possible to control UIView border properties (color, thickness, etc…) directly from interface builder or I can only do it programmatically? 9 … Read more
I’m currently looking at a UILabel with the property addMessageLabel.layer.cornerRadius = 5.0f; On a device with iOS 7.0 installed, it has rounded corners. … Read more
I’m looking to perform a perspective transform on a UIView (such as seen in coverflow) Does anyonew know if this is possible? I’ve … Read more
Could someone give a small example of applying the blur to an image? I’ve been trying to figure out the code for a … Read more
I was in an (probably false) assumption that enabling the right margin indicator in xib is equivalent to using UIViewAutoresizingFlexibleLeftMargin inside code and … Read more
If I have a UIButton arranged using autolayout, its size adjusts nicely to fit its content. If I set an image as button.image, … Read more
The position of a UIView can obviously be determined by view.center or view.frame etc. but this only returns the position of the UIView … Read more
Can anyone tell me how I can mimic the bottom sheet in the new Apple Maps app in iOS 10? In Android, you … Read more