iphone

Where can I find all of Apple's Technical Q&A's and Technical Notes?

I discovered this: http://developer.apple.com/iphone/library/qa/qa2010/qa1686.html Since this was incredible useful for me and never found anywhere else, I wonder which other top secret informations are available in such "hidden" answer-documents?! I wasn't able to find the root directory that lists all of them. Is there a way to brow...

how do I detect location service disable for my app?

IOS4 has recently introduced the possibility to enable/disable location services for a specific application. I need to detect if this settings is enabled/disabled for MY application. First I have tried with: if ([CLLocationManager locationServicesEnabled]) { .... } however this refers to the global location service a...

What's the name of the app made by Apple for browsing iOS documentation?

Someone said there was an special iPad app from Apple that is made for browsing the iOS documentation and other related things. What's the name? ...

How do I find the plain version of a font in Core Text?

I'm using 'CTFontCreateCopyWithSymbolicTraits' to create a 'CTFontRef' with an italic version ('kCTFontItalicTrait'). Is there a way of taking the same italic font and using 'CTFontCreateCopyWithSymbolicTraits' to set it back to the plain version again? Thanks! ...

Ipad - actionsheet not showing all buttons in landscape mode when keyboard is present

I am developing an Ipad application. It supports both landscape and portrait mode. The app has keyboard.It also shows an action sheet with 4 buttons when required. In portrait mode it works perfectly. But in landscape mode action sheet only show 2 buttons when keyboard is there .Without keyboard it show all 4 buttons. any solution? ...

[iPhone] Persisting an array of images

What's the best way to save and retrieve an array of images across app restarts? I'm implementing a caching feature for offline viewing of downloaded images and just want to make sure I'm using the right persisting methods. Thanks! ...

Why does UIWebView has problems with & characters in URL (wants &)

I have a problem with a UIWebView, that I use in my iPhone app. The source code shown in the UIWebView, contains the following markup besides many other things: <object width="150" height="121"><param name="movie" value="http://www.youtube.com/v/SOMEVIDEO&amp;hl=de&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"...

Application icon for iPhone 3g, 3gs and iPhone 4

I am planning an app for iphone 3g, 3gs and iphone 4. I have a 57*57 image for 3g and 3gs. When I checked documentation apple suggests us to use a 114*114 image for iphone 4. So how can I support both the images with the same build. ...

file sharing on iphone/ipad?

Hi guys I want my app to share files via itunes file sharing. Right now all of the Documents folder is exposed to the user. The problem is that there are certain files there (let's say these are "System files") that I don't want to expose. What should I do? And if it's not possible to "hide" files, where do you think it's best to put "...

UITableViewCell detailTextLabel update

Hi, Is there any way to change the cell.detailTextLabel from the app? For example, the user have to choose gender, I would like to display the selected gender under the detailTextLabel Thanks! ...

how would i implement the image processing technology within this iphone application?

Hello guys, Just a quick question on the iphone technology within this business card reader http://www.youtube.com/watch?v=F8z6pcxdrPo as we can see this video allows users to take a photo of a business card, i have an idea where i would take a photo of some text , and that photo could then be turned into text on the iphone. how woul...

How to speedup & make the cells smooth scrolling in iPhone?

Hi, i did a text rendering program using UIView and UITableViewController. What i did is before going drawRect method, i just calculate all of the cells height as well as each text start & height,width. So that, i can estimate the cell height approximately and then i draw the text. I did this for both portrait & landscape mode. My progr...

Disable the 'save image' menu on iPhone with Javascript

Have a photography site that I want to prevent image copying from. How can I disable the save image menu that pops up on an iPhone when you hold down your finger on an image? ...

Wait or revoking an iPhone expiring certificate?

In my iOS Provisioning Portal Current Development Certificates section, the certificate expiry date is Sep 30, 2010. Today is Sep 30, 2010. Should I wait for the certificate to expire and renew? Or should I revoke the existing one and create a new one certificate? Currently, the Ad Hoc Provisioning Profile has expired. No matter how man...

Sweep Views left-right

We've got an application planned that is a very basic 7 page presetation. Our client wants to be able to sweep the views from right to left as a form of navigation, similar to the page control on the home screen. I understand the presentModalViewController and pushViewController, but how do I detect a directional finger sweep? ...

IPhone xcode JSON feed problem.

I'm using the JSON framework off Google to build a local news IPhone app. It works for every JSON feed apart from one. I have no idea why? It just won't return any information from the stringWithUrl function. I've checked the data is to standard and it appears to well with my validator. Anyone got any ideas? ...

UIView's animateWithDuration:animations:completion: error

I have the following code -(void) animate:(UIButton*) b withState: (int) state andLastState:(int) last_state { if (state < last_state) { int stateTemp = state; float duration = 1.0 / 30.0; [b animateWithDuration: duration animations: ^{ [UIImage imageNamed:[NSString stringWithFormat:@"m1.a000%d.png", state]]; }...

Objective c NSDate taking off 1 hour from parsed date

Hello I am parsing the following string format: "29/09/2010 12:45:00" with the following code: NSDateFormatter *df = [[NSDateFormatter alloc] init]; [df setDateFormat:@"dd/MM/yyyy HH:mm:ss"]; NSDate *dateTime = [[df dateFromString:dateAndTime]]; But the NSDate object then contains the following: 2010/09/29 11:45:00 Does anyone have ...

iAd banner content Size .. (iAd Support with iOs 4.2 for iPad)

We have an application that support iAds. Apparently iOs 4.2 for iPad will support this, but doing some tests with the beta SDK, there is no way to resize de banner to make it fit on the DetailView of a SplitViewController. in Iphone you set the required content size identifiers for an ad banner, which are ADBannerContentSizeIdentifier3...

UnParse a string into an NSMutableArray

Hello, I'm trying to unparse a string into an array, here is my code: EDIT: I've found a bit more information. startTimeArray = [[NSMutableArray alloc] init]; NSString *tmpStartTimeString = [[tempItems objectAtIndex:0] valueForKey:@"temp_start_time"]; startTimeArray = (NSMutableArray *)[tmpStartTimeString componentsSeparatedByCharac...