I am optimizing my app on iPhone 4, it's really fast on iPhone 5 but lagging a little on iPhone 4. Using instrument Time Profiler, I found that 30% of the time is spent on [UIButton titleLabel], it ...

Hope I can get some help with a rather obscure problem with UILabel. I keep getting problems with clipping of characters. The font in the image at the link below is baskerville-bolditalic. The yellow ...

I'm wondering how I can add the default Library picker button that can be found on an iPhone's default Camera app(can also be accessed via dashboard). The button looks like this, though this is an app ...

I am fairly new to IOS App Development. I have a view with 2 UIView and 1 ScrollView. One of the UIView is a footer which I want to be animated in such a way that it will hide/show to/from out of the ...

In my app, I load images from the disk to use as UIBUtton thumbnails.
To get the image I override the thumbnailImage property's getter, of my Drawing object, to load the image from disk:
- (UIImage ...

I have seen many post regarding this type of issue .I tried many solutions but none of them worked for me. I am going through a strange situation.
I have created layout using storyboard. Storyboard ...

You can test by yourself by cloning this repo https://github.com/sey/ios-keyboard-test.
The problem is the following:
When you enter text in a UITextField and you want to quickly tap a button which ...

All,
My app requires me to use custom buttons on different view controllers/screens. Since I didn't want to go through the effort of creating them multiple times on the storyboard and then making any ...

I have a UIScrollView which contains a UIButton and a gradient button, which is a UIControl subclass. The gradient-button draws differently according to whether the user has tapped on it (indicating ...

I am having a weird issue with custom fonts on iOS.
I've included a TTF font in my project and am programatically setting it for a bunch of UI controls - I've tried many ways of doing this and they ...

I've been designing my UI programmatically, utilizing a tool called iOSHat which converts PSD Layers into Swift Code, that you can (almost perfectly) copy and paste into XCode. The PSD designs have ...

I am working on an app where I have a custom button class (I found this class here on StackOverflow - credit to the original poster). where I have added a CAShapelayer to the button to give it a shape ...

I have been working on an application for the past couple of months and everything is slowly going according to plan. I have two view controllers. On the first view (UI), the user taps a button to do ...

Strange thing happened just now. I set my VC size to 4.7 inch in the storyboard settings and then tried to add a standard button control to the top left of my view controller. It wouldn't let me place ...

I am currently implementing code for a header to my UITableViewController. I have added a button to the "SectionHeader" cell in the storyboard which I have linked to another view. When I run the app ...

I have two buttons with titles that are changed at runtime, and the height of the buttons resize to accommodate the title. On the iPhone this works perfectly, even when the title runs to two or three ...

I have a custom UIButton in which I draw a circle using CAShapeLayer. The button is used later in conjunction with UICollisionBehavior to detect collision between several UIButtons. However, I suppose ...