Top "Iphone" questions

DO NOT use this tag unless you are addressing Apple's iPhone and/or iPod touch specifically.

Does hosts file exist on the iPhone? How to change it?

I am developing an application that query to the server. In my Mac, I use the hosts file to change …

iphone dns hosts-file
Detect if the device is iPhone X

My iOS app uses a custom height for the UINavigationBar which leads to some problems on the new iPhone X. …

ios objective-c iphone iphone-x
How to deselect a selected UITableView cell?

I am working on a project on which I have to preselect a particular cell. I can preselect a cell …

ios objective-c iphone uitableview interface-builder
How do you dismiss the keyboard when editing a UITextField

I know that I need to tell my UITextField to resign first responder when I want to dismis the keyboard, …

ios iphone cocoa-touch uitextfield uikeyboard
Determine device (iPhone, iPod Touch) with iOS

Is there a way to determine the device running an application. I want to distinguish between iPhone and iPod Touch, …

ios objective-c iphone ipod-touch
Remove or uninstall library previously added : cocoapods

I added an external framework via cocoapods into my iOS application. How can i remove that library from the project?

ios iphone ipad cocoapods
How to check if an app is installed from a web-page on an iPhone?

I want to create a web-page, a page that will redirect an iPhone to the app-store if the iPhone does …

iphone ios web-applications mobile-safari
@property retain, assign, copy, nonatomic in Objective-C

As someone that's new to Objective-C can someone give me an overview of the retain, assign, copy and any others …

ios objective-c iphone memory-management
How to customize the background color of a UITableViewCell?

I would like to customize the background (and maybe the border too) of all of the UITableViewCells within my UITableView. …

ios iphone uitableview cocoa-touch background-color
How to resolve 'unrecognized selector sent to instance'?

In the AppDelegate, I'm alloc'ing an instance defined in a static library. This instance has an NSString property set a "…

objective-c iphone cocoa-touch memory-management static-libraries