iphone

iPhone: Accessing the User's Currency Symbol

Hi, In my iPhone app, I'd like to determine the currency symbol for the region that the user is currently in. Eg, if the user is in Europe, I'd like to display the euro symbol. If in the US, I'd like to display the $ symbol. Where would I be able to access this in my iPhone app? Thanks! ...

iPad/iPhone duplicate view and resize?

I'm working on an app that is similar to a Presentation application (Keynote/Powerpoint) for the iPad, that will use the VGA adapter to present on screen. However, if the presenter is using the external display for the presentation, I'm wondering if it's possible to have a miniature version of what's on the external display show up on th...

Recommendations for Slideshow Publishing Tool

A client has asked me to research production tools for publishing slideshows on their Web site. The tool must be very easy to use and it has to generate a mobile version as well as a desktop version of the slideshow. (I'll spare you the rest of the specs.) Tools under consideration include SlideShowPro and Soundslides. Do you have a f...

iPhone SDK: How to center map around a particular point?

New to MapKit. Having problems centering map around a specified point. Here is the code. Not sure why this is not working. We are expecting to see a map centered around Cincinnati, OH. What we are seeing is the default google map of the world. Any help appreciated. / Implement viewDidLoad to do additional setup after loading the view,...

UIControlEventTouchDragExit only fires ~100 pixels out

Im trying to "get" when a finger/touch leaves a UIButton in objective C for iphone. I was told in another answer to use UIControlEventTouchDragExit however this event only fires when the touch gets about 100 pixels away from the button, whereas I would like it to be immediate. The apple docs say that goes according to the bounds however ...

Iphone build error - literal-pointer symbol(s) not found

Sorry I imagine I'm missing something basic here. Before I write up a bunch of details on the specifics of the class I'd appreciate a nudge or smack on the head about the meaning of this build error. I have a subclass of NSObject SiteAnnotation that should be conforming to the MKAnnotation protocol. It is #imported in the ViewController...

UITextField event handling

Is it possible to detect at what text position the user tabs into a UITextField (just tabbing not editing, the text field is read-only)? E.g. by capturing the touches began event and then processing the tabbed position? ...

iPhone SDK Auto scrolling UIWebView to a specific position

Hi, I Have a UIWebView that displays third party web page (not a page I can control) I need a way to scroll the content of the web view to a specific position in that page. Any idea how to implement it? Thanks. ...

Suggest books/learning path for writing smartphone apps

I have been writing a lot of HTML, CSS, PHP, MySQL and JavaScript lately working on a website, and I would like to move on to 'proper' OOP with an eye to making smartphone apps. I would like to at least cover iPhone and BlackBerry, which means learning Objective C, Cocoa and Java, before learning the specifics of interacting with the de...

Deploying App With Dummy/Initial Data

I have a Core Data based application that stores hierarchal data displayed using a series of UITableViews. To illustrate my app functionality to the user I would like to pre-populate my database/app with some dummy values. This data would be available upon installation on the user's iPhone/iPod Touch. What is the best way to achieve t...

Audio Editing in iPhone : Adding sox library to xCode

Hi All, How to build the libsox.la library and integrate into xCode for editing audio in iPhone ? thanks ...

iPhone dev: Recurse all project resoureces and collect paths

I have a bunch of HTML resources in my app organized in a hierarchy like so: dirA |---> index.html |---> a1.html |---> a2.html |---> dirB |---> b1.html |---> b2.html |---> dirC |---> c5.html |---> c19.html I'm trying to collect the absolute paths of all HTML resources however deep down, but can't seem to figure...

Could UINavigationControllerWillShowViewControllerNotification get my app rejected?

Hey guys, I'm observing UINavigationControllerWillShowViewControllerNotification on UINavigationController to keep track when the current view controller has been popped, as suggested on this post. There's literally no reference anywhere for that notification and a Google search will link me only to that post. Does it mean this is a p...

Ratings page for iPhone

Hi, I am trying to build a reviews and ratings page inside my iPhone application which I want to make it look similar to the AppStore's 'Reviews' page. Any suggestions how should I go for it? Thanks! ...

Custom UIButton + subviews = no events

Basically I have a custom UIButton and this custom button contains subviews. If I add those subviews to my uibutton, then the button stops responding to event changes. I.e if I click on it it doesn't respond to the selector. I have everything set as userInteractionEnabled. I also tried adding touchbegan and this is working. If I remove t...

iPhone Simulator - Writing to File/Reading problems

I have been reading alot on iPhone read/writing and I believe that everything I have is correct but for some reason it isn't working the way it should. code is as follows NSString *docsDirectory = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]; NSString *filePath = [docsDirectory str...

iphone app submission process.

I am done with my first iphone app (SO helps a lot..thanks). Now i want to submit my app to app store for review. I can use itunes connect to submit my app. I have few questions. 1) I dont know how to create a build for release. What i mean is i dont know what profile it requires. There are help videos but they all guide to do developme...

UIButton not firing selector if I draw it using CALayer

Hi everybody I create this button like this: _myButton = [[UIButton buttonWithType:UIButtonTypeCustom] retain]; DLBadgeLayerDelegate *layerDelegate = [[DLBadgeLayerDelegate alloc] init]; _myButton.frame = CGRectMake(0.0 , 0.0, 100.0, 100.0); [_myButton addTarget:self action:@selector(myButtonTapped:) forControlEvents:UICon...

Alternate to control+drag to connect view element with file owner in xCode interface builder?

Working on an iPhone application through a TightVNC connection into a Mac Mini; the control+drag operation in Interface Builder to connect a view element to file owner doesn't work - I don't see the connecting line. It does work when I connect keyboard, mouse and monitor to the Mini and work on it directly, however it is a lot more conv...

UISearchBarBackground Class

I am using the following piece of code to hide the background on a UISearchBar: [[searchView.subviews objectAtIndex:0] setHidden:YES]; Pretty simple, but I worry about hard coding a position in a subview list. So I went looking for the UISearchBarBackground.h file and cannot find it. Does any know where the definition is hiding? ...