In my iOS app, I get an access token using the following code:
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Friday, June 8, 2012
Getting all my events via Facebook iOS SDK
Any base64 library on iphone-sdk?
I'd like to do base64 encoding and decoding. But I could not find any support from iPhone SDK.
Monday, June 4, 2012
When should I release objects in -(void)viewDidUnload rather than in -dealloc?
What is the -(void)viewDidUnload is good for?
Could I not just relase everything in -dealloc ? If the view did unload, wouldn't -dealloc be called anyway?
Sunday, June 3, 2012
iOS 5 Best Practice (Release/retain?)
As a beginning iPhone programmer, what is the best practice for writing apps to be used either with iOS 5 or older versions? Specifically, should I continue using the release/retain of data, or should I ignore that? Does it matter?
Friday, June 1, 2012
Gradients on UIView and UILabels On iPhone
My application needs to display text in either a View or Label but the back ground must be a gradient as opposed to a true color. Using a graphics program to create desired look is no good as the text may vary depending on data returned from a server.
Thursday, May 31, 2012
Are there any Open-source iPhone applications around?
I'm looking for open source iPhone applications. There are many sample applications around, but not many "complete" applications. Any ideas?
Best JSON library to use when developing an iPhone application?
There are a few JSON libraries/frameworks available for Objective-C developers, but I wanted to get the opinion of the resident gurus here on which one is the best, and why.
Determine device (iPhone, iPod Touch) with iPhone SDK
Is there a way to determine the device running an application. I want to distinguish between iPhone and iPod Touch if possible.
Wednesday, May 30, 2012
How do I associate file types with an iPhone application?
On the subject of associating your iPhone app with file types.
Check iPhone iOS Version
I want to check if the iOS version of the device is greater then the 3.1.3 I tried things like:
performSelector may cause a leak because its selector is unknown
I'm getting the following warning by the ARC compiler:
"performSelector may cause a leak because its selector is unknown".
UIDevice uniqueIdentifier Deprecated - What To Do Now?
It has just come to light that the UIDevice uniqueIdentifier property is deprecated in iOS 5 and above. No alternative method or property appears to be available or forthcoming.
Tuesday, May 29, 2012
How to make a UITextField move up when keyboard is present
With the iPhone SDK:
I have a UIView with UITextFields that brings up a keyboard. I need it to be able to:
How to programmatically send SMS on the iPhone?
Does anybody know if it's possible, and how, to programmatically send a SMS from the iPhone, with the official SDK / Cocoa Touch?
Sunday, May 27, 2012
How can I disable the UITableView selection highlighting?
When you tap a row in a UITableView, the row is highlighted and selected. Is it possible to disable this so tapping a row does nothing?
How do you beta test an iphone app?
How can you beta test an iPhone app? I can get it on my own device, and anyone that gives me a device, I can run it on theirs, but is there a way to do a limited release via the app store for beta testing?
Warning iPhone apps should include an armv6 architecture even with build config set
It's been awhile since I've had to adjust project build settings. After upgrading to a recent SDK I'm having trouble building my ad hoc distribution configuration.
Friday, May 25, 2012
Can I embed a custom font in an iPhone application?
I would like to have an app include a custom font for rendering text, load it, and then use it with standard UIKit elements like UILabel. Is this possible?
iPhone development on Windows
Is there a way to develop iPhone (iOS) applications on Windows? I really don't want to get yet another machine.
How to check for an active Internet Connection on iPhone SDK?
I would like to check to see if I have an Internet connection on the iPhone using the Cocoa Touch libraries.