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.

How to get the scroll position of a UITableView in real time

I need to get the scroll position of a table view in real time. What I am currently doing is: …

ios swift uitableview uikit contentoffset
What exactly does bool parameter do in animateWithDuration:animations:completion:

I referred to the DOC and it said: completion ... This block has no return value and takes a single Boolean …

iphone objective-c ios cocoa-touch uikit
Problem adding UIBarButtonItems to a ToolBar

I have a UINavigationController with a UITableViewController in it. I want to show a ToolBar on the bottom with UIBarButtonItem's. …

iphone objective-c cocoa-touch uikit uitoolbar
Connection to daemon was invalidated

My app is using Firebase Analytics and I believe starting in iOS 13.2 started getting the errors described here: Why I …

firebase uiscrollview uikit webkit uimenucontroller
Create custom UITableView separator line

I would like to create a separator line like this one: Any idea about how to implement it? I tried …

ios uitableview uikit uiappearance
Open UIDatePicker programmatically in iOS 14

I have this normal UIDatePicker (sorry that it's not in English, please ignore that): But the problem is that it …

swift uikit uidatepicker ios14
UIActionSheet is not showing separator on the last item on iOS 7 GM

It could be probably a bug on iOS7. But the last button is not separated from the previous one As …

iphone ios uikit uiactionsheet ios7
iOS: How to access the `UIKeyboard`?

I want to get a pointer reference to UIKeyboard *keyboard to the keyboard on screen so that I can add …

iphone ios uikit uikeyboard
Common multithreading mistakes beginners make on iPhone

I just introduced multithreading into my app JUST to get a silly UIActivityIndicatorView to work. Well, the activity indicator works, …

iphone multithreading uikit uiactivityindicatorview
UIView drawRect drawing lines of wrong width

I'm trying to add a little red line on the bottom of my UIView. I want the line to be …

iphone ios uiview uikit drawrect