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.

UISplitViewController and complex view hierarchy

I'm doing an iPad tech demo and I'm running into a serious technical problem. I have an app concept that …

iphone ipad uikit uisplitviewcontroller
UISearchController disable cancel UIBarButtonItem

The Problem I am trying to use UISearchController to search for a destination on a map view. I want the …

ios objective-c uikit uisearchbar uisearchcontroller
Handling AutoLayout constraint animation differences in iOS 10?

I've noticed that in iOS 10 Beta 5 (about to try Beta 6), AutoLayout constraint animation behaves a bit differently. For example, this …

animation autolayout uikit nslayoutconstraint ios10
iPhone: Tracking/Identifying individual touches

I have a quick question regarding tracking touches on the iPhone and I seem to not be able to come …

iphone cocoa-touch uikit multi-touch
Changing the text color of a navigation bar title when "prefersLargeTitles" is set to true

I have a requirement in which I have to use a UINavigationBar with a red large title. Currently, I have …

ios uikit uinavigationbar ios11
What's exactly viewDidLayoutSubviews?

I was reading the description of viewDidLayoutSubviews of UIViewController: Called to notify the view controller that its view has just …

ios uiviewcontroller uikit bounds viewdidlayoutsubviews
Tap pressure strength detection using accelerometer

Yesterday, in the presentation about the new Garageband for iPad 2, Apple demoed an interesting feature: The detection of the tap …

ios iphone ipad uikit accelerometer
What is the equivalent of NSLineBreakMode in iOS 7 attributed strings drawing methods?

There was a method - (CGSize)drawInRect:(CGRect)rect withFont:(UIFont *)font lineBreakMode:(NSLineBreakMode)lineBreakMode alignment:(NSTextAlignment)alignment; which I …

ios nsstring uikit nsattributedstring
Why weak IBOutlet NSLayoutConstraint turns to nil when I make it inactive?

I have an IBOutlet NSLayoutConstraint in my app. Very simple: @property (nonatomic, weak) IBOutlet NSLayoutConstraint* leftConstraint; At some point I …

ios objective-c uikit iboutlet ios-autolayout
How do I detect orientation on app launch for splash screen animation on iPad!

Hi I have an app and I have two *.pngs for default splash screen: Default-Landscape.png Default-Portrait.png What I …

iphone uikit uiinterfaceorientation uidevice device-orientation