I’m trying to rotate a UIImageView 360 degrees, and have looked at several tutorials online. I could get none of them working, without the UIView either stopping, or jumping...
I want to move one view on top of another, how can I know the z index of the view, and how to move on to top? 9 Answers...
I’ve run into a couple of cases now where it would be convenient to be able to find the “topmost” view controller (the one responsible for the current view),...
How do I add a touch event to a UIView? I try: UIView *headerView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, tableView.bounds.size.width, nextY)] autorelease];...
I would like to know how to use these properties in the right manner. As I understand, frame can be used from the container of the view I am...
I’m trying to generate a view with a gradient color background (A solid color to transparent) at runtime. Is there a way of doing that? 20 Answers 20
I’ve been working on an application for a couple of years and received a simple design request: Round the corners on a UIView and add a drop shadow.To do...
Is there a way to set cornerRadius for only top-left and top-right corner of a UIView? I tried the following, but it end up not seeing the view anymore....
I’m trying to figure this out since last week without going any step further. Ok, so I need to apply some constraints programmatically in Swift to a UIView using...
My login view has a subview which has a UIActivityView and a UILabel saying “Signing In…”. This subview has corners which aren’t rounded. How can I make them round?...