Top "Objective-c" questions

This tag should be used only on questions that are about Objective-C features or depend on code in the language.

How to set tab bar item title programmatically in objective c?

I want to set title to tab item programatically, but it not works. My code is below: - (IBAction)tab1…

objective-c xcode uitabbarcontroller uitabbaritem
WKWebView evaluate JavaScript return value

I need to change a function to evaluate JavaScript from UIWebView to WKWebView. I need to return result of evaluating …

javascript ios objective-c wkwebview
How do I create a CGRect from a CGPoint and CGSize?

I need to create a frame for a UIImageView from a varying collection of CGSize and CGPoint, both values will …

ios objective-c quartz-graphics cgpoint cgrectmake
iPhone reachability checking

I've found several examples of code to do what I want (check for reachability), but none of it seems to …

iphone objective-c app-store appstore-approval reachability
iOS 7 style Blur view

Does anybody know of any controls that will replicate the iOS7 style blur views. I'm assumming there can be some …

ios objective-c core-graphics
How to delete all Annotations on a MKMapView

Is there a simple way to delete all the annotations on a map without iterating through all the displayed annotations …

objective-c iphone-sdk-3.0 annotations mkmapview
How do I create a NSTimer on a background thread?

I have a task that needs to be performed every 1 second. Currently I have an NSTimer firing repeatedly every 1 sec. …

objective-c cocoa nstimer nsrunloop nsblockoperation
UIRefreshControl - beginRefreshing not working when UITableViewController is inside UINavigationController

I've setup a UIRefreshControl in my UITableViewController (which is inside a UINavigationController) and it works as expected (i.e. pull …

ios objective-c uitableview uinavigationcontroller uirefreshcontrol
Unable to run app in Simulator: An error was encountered while running (Domain = LaunchServicesError, Code = 0)

After successfully compiling the project in Xcode 6, I am unable to run it in the simulator with the above mentioned …

ios objective-c xcode6
UIGestureRecognizer blocks subview for handling touch events

I'm trying to figure out how this is done the right way. I've tried to depict the situation: I'm adding …

objective-c ios uiview uigesturerecognizer uiresponder