Top "Uikit" questions

UIKit (not to be confused with the front-end framework GetUIKit) is the object-oriented framework that is responsible for most of the iOS user interface.

Custom UISegmentedControl

How do I make a custom UISegmentedControl? I have 2 images, 1 that should be displayed when the segment is active and …

iphone objective-c cocoa-touch uikit uisegmentedcontrol
How to change height of grouped UITableView header?

I know how to change the height of the section headers in the table view. But I am unable to …

ios uikit tableview uitableview
Difference between addSubview and insertSubview in UIView class

What is the difference between addSubview and insertSubView methods when a view is added programmatically?

iphone uiview uikit subview addsubview
UITextView content inset

I have encountered something a bit strange with contentInsets I have a UITextView in my storyboard with a contentInset of 50 …

ios objective-c uiscrollview uikit
Create a UIImage with a URL in iOS

To create an UiImage with a image file, I use the code as below: UIImage *aImage = [[UIImage imageNamed:@"demo.jpg"]…

objective-c ios uikit uiimage
UIDatePicker select Month and Year

I need a UIDatePicker for selecting Month and Year only. I checked the class reference documents. Looks like UIDatePicker is …

ios objective-c uikit uipickerview uidatepicker
UITableView didSelectRowAtIndexPath: not being called on first tap

I'm having an issue with UITableView's didSelectRowAtIndexPath. My table is setup so that when I select row it initializes a …

uitableview cocoa-touch uikit didselectrowatindexpath
How can I add CGPoint objects to an NSArray the easy way?

I have about 50 CGPoint objects that describe something like a "path", and I want to add them to an NSArray. …

ios objective-c iphone cocoa-touch uikit
Drop Shadow on UITextField text

Is it possible to add a shadow to the text in a UITextField?

iphone objective-c uikit uitextfield shadow
How to get the height of the tabbar programmatically?

I've found out that the height of a UITabBar is 49px (or 50px, depending on the source). Because I don't …

ios iphone uikit uitabbarcontroller uitabbar