Quantcast
Browsing latest articles
Browse All 10 View Live

convert string to date in objective-c

Problem And Question I have implemented a calendar application for the iPhone in which I have a date in string format (e.g. “Tue, 25 May 2010 12:53:58 +0000″). I want to convert this to an NSDate. But...

View Article


crop UIImage on oval shape or circle shape

Problem And Question Please give ideas for how to crop UIImage on oval shape or circle shape. Please guide me. Best Solution And Answer `#import <QuartzCore/QuartzCore.h>` CALayer *imageLayer =...

View Article


What’s easiest way to get current location of iPhone

Problem And Question I already know how to use the CLLocationManager, so I could do it the hard way, with delegates and all that. But I’d like to have a convenience method that just gets the current...

View Article

Changing background color of UIAlertView

Problem And Question I want to change the background color of my UIAlertView, but this doesn’t appear to have a color attribute. Best Solution And Answer Background of AlertView is an image And you can...

View Article

detect end of loading of UITableView

Problem And Question I want to change the offset of the table when the load is finished and that offset depends on the number of cells loaded on the table. Is it any way on the SDK to know when a...

View Article


Changing size of UISearchBar TextField

Problem And Question I have a UITableView with an Index on the side; I want to add a UISearchBar to it, but the index overlaps with the “x” to clear the search. I’ve noticed in the Contacts...

View Article

fix NSURLErrorDomain error -999 in iPhone 3.0 OS

Problem And Question I am trying to update my iPhone app to work with OS 3.0. I have a UIWebView that shows a page fine. But when I click a link it calls my delegate for didFailLoadWithError and the...

View Article

store UIImages within my Core Data database

Problem And Question I am developing an application which demands around 100 images or maybe more to be pre-inserted into the Core Data database along with other related information. Now I can easily...

View Article


distribute ios application wirelessly without managing UDIDs and recompilation

Problem And Question I need to know what methods people are using to distribute (internally) demo of iPad application wirelessly without having to manage UDID? I do not need a solution like testflight...

View Article


enter numeric values with decimal points

Problem And Question In my app users need to be able to enter numeric values with decimal places. The iPhone doesn’t provides a keyboard that’s specific for this purpose – only a number pad and a...

View Article
Browsing latest articles
Browse All 10 View Live