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.

Opening the Settings app from another app

Okay, I know that there are many question about it, but they are all from many time ago. So. I …

ios objective-c iphone application-settings appsettings
How to easily resize/optimize an image size with iOS?

My application is downloading a set of image files from the network, and saving them to the local iPhone disk. …

ios objective-c image cocoa-touch resize
Replacement for deprecated sizeWithFont: in iOS 7?

In iOS 7, sizeWithFont: is now deprecated. How do I now pass in the UIFont object into the replacement method sizeWithAttributes:?

objective-c deprecated ios7
Cropping an UIImage

I've got some code that resizes an image so I can get a scaled chunk of the center of the …

ios objective-c cocoa-touch uiimagepickercontroller image-manipulation
IOS 7 Navigation Bar text and arrow color

I want to set background for Navigation Bar to be black and all colors inside it to be white. So, …

iphone ios objective-c uinavigationbar ios7
Programmatically scroll a UIScrollView

I have a UIScrollView which has several views. When a user flicks their finger, the view scrolls to the right …

ios objective-c uiscrollview scroll
How to scroll to the bottom of a UITableView on the iPhone before the view appears

I have a UITableView that is populated with cells of a variable height. I would like the table to scroll …

ios objective-c cocoa-touch uitableview
How to convert an NSTimeInterval (seconds) into minutes

I've got an amount of seconds that passed from a certain event. It's stored in a NSTimeInterval data type. I …

objective-c iphone nstimeinterval seconds minute
Sending an HTTP POST request on iOS

I'm trying to send an HTTP Post with the iOS application that I'm developing but the push never reaches the …

ios objective-c automatic-ref-counting http-post nsurlconnection
How can I change UIButton title color?

I create a button programmatically.......... button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [button addTarget:self action:@selector(aMethod:) forControlEvents:UIControlEventTouchDown]; [button setTitle:@"Show …

ios objective-c iphone uibutton