iphone

iPhone virtual keyboard bug

In iPhone virtual keyboard... 1.Change the alphabetical keypad view to numerical view. 2.Tap on the single quote(') button the view changes to alphabetical. 3.In this view tapping on space twice displays a fullstop. I don't know whether it is apple bug or feature, How to fix this issue through coding? Thanks, ...

Good practices for multiple language data in Core Data

Hi, i need a multilingual coredata db in my iphone app. I could create different database for each language but i hope that in iphone sdk exist an automatically way to manage data in different language core data like for resources and string. Someone have some hints? ...

Iphone Leaks NSString

Hi, I have leaks in the following code : NSString * string; - (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)str{ string = [NSString stringWithFormat:@"%@", str]; } - (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName { ...

Forcing UIInterfaceOrientation changes on iPhone

I'm strugging with getting an iPhone application which requires just about every push or pop in the Nav Controller Stack to change orientation. Basically the first view is portrait, the second landscape the third portrait again (Yes I know this is less than ideal, but that's the design and I've got to implement it). I've been through v...

Custom UIPickerView

Hello fellow developers, I am trying to include a UIPickerView that looks like the one shown within Oanda's Currency Coverter, because I think it's nice and neat. Please refer to image below. I have read a few tutorials/samples including Apple's UICatalog but it doesn't seem to show us how to: reduce the number of rows displayed (Oa...

NSMutableArray for Object which has NSString property causes memory leak

Hello everyone I hope to add objects to a NSMutableArray "myArray", The NSMutableArray is the array for FileObj which has a NSString property "fileName" #import <UIKit/UIKit.h> @interface FileObj : NSObject { NSString *fileName; } -(void) setfileName:(NSString *)s ; -(NSString *) getfileName ; @end // // File.m// #imp...

iTunes App Store API?

Sites like http://www.apptism.com/ readout the app store automatically and display information like title, description, price and images. Where do I find the documentation for this (iTunes API?). I tried to google it but no good result. ...

NSDateFormatter Does not convert correctly

Hi, I have a NSString which is passed from an xml feed........ NSString *strDate =@"Thu, 22 Apr 2010 10.30 am CEST"; I'm currently using this code to format the date........ NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateFormatter setDateFormat:@"EEE, dd MMM yyyy hh:mm a vvvv"]; NSDate *myDate = [dateF...

count number of rows in iphone coredata

I'm having trouble understanding coredata with my uitableview. I have rows being deleted and added all ok.. and the tableview displays them. However, when I then run a query on the number of elements in the database, it returns the number BEFORE I made the delete call. So an example, I have three rows. I delete two of them. I'd expect m...

Draw Road Line from current location to target place.

Hi I am new to iphone development. In my application, i want to draw a road map(driving/walking mode) from current location (wherever we are in) into target place which is given by user via textfield. All things should be done inside my application. Is there any idea? or any sample? ...

(iPhone SDK) How to link instance variables to a specific UILabel

I'm using the iPhone SDK to build a simple application. I've created a brand new class which has a single variable. I need to make 5 instances of that class, which I have no trouble doing. I can create those instances and also set the variables without issue. What i do need to know is this: How do I link each of the 5 different inst...

Do I need specifically iPhone SDK 3 to develop new iphone apps within the current release of Titanium?

I was asked to inform myself about how to make iPhone apps using Javascript/CSS and HTML. Well i realized that there are some nice frameworks to work with, like Titanium or PhoneGap for example (if you know some more, feel free to post some names or links). But my biggest problem now is that generally, when i'm about to develop native a...

iPhone SDK: Do I need to ask user for permissions to use GPS?

In my iPhone application I need to use GPS (CoreLocation to be exact) to get current position of the device. I know that most (if not all) applications using GPS have a popup implemented asking the user to allow GPS access. Is that done automatically by the iPhone SDK or should I implement such functionality myself? I've tried to run my...

Memory leaking issue iPhone

Hello, Anyone have a idea about solve memory leak issues i have found one memory related issue NSAutoreleaseNoPool(): Object 0x3588aea0 of class NSCFString autoreleased with no pool in place - just leaking can anyone have a idea about how can i solve.. Thnak you ...

Convert iPhone GPS to address

Hi all, I have been researching a few different apps lately for my company which are all able to convert your current GPS location to an address. I have been googling and searching through the stack but I can't seem to find any helpful information on the net to tell me how to achieve this. So my question is this; how do you a) get your...

OpenGL ES displaying HUD display Text can't be colored black on top of textured 3D objects

This is a follow-up of this question on here http://iphonedevelopment.blogspot.com/2010/02/drawing-hud-display-in-opengl-es.html It tackles on the HUD (heads up display) which is based on this tutorial > http://stackoverflow.com/questions/2681102/opengl-es-displaying-hud-display-has-no-color-on-top-of-textured-3d-objects I wanted to set ...

How to programatically set cell.textLabel.text from a different view?

I've got a view controller, call it VC1, that's a table view. When I tap a cell in the table view, I am presented with a new view controller, call it VC2, which is a short list of choices. After making a choice, I want to dismiss VC2 and set the cell.textLabel.text property of the VC1 cell I originally tapped to the value I selected in V...

how to get header files from CoreTelephony.framework for telephone control api

Hi, I want to develop an iphone re-dialer application, for that coretelephony.framework is needed as it contains required telephone control api. But i'm unable to class-dump headers of coretelephony.framework as it is C headers. Can anybody help me to dump headers of coretelephony framework? Thanks in Advance. ...

Starting Game dev on iPhone:iPad - learning path ??

Hi there, I'm beginning in iPhone/iPad game dev and I'm searching to set up my learning path. The basic features I would like to learn (after the basic SDK iphone components programming) are : using a board like interface where I can move pawn with my fingers detect where the pawn was moved and triggers events in the game The board wi...

shouldAutorotateToInterfaceOrientation and Animations

Hey guys, When I return NO from my shouldAutorotateToInterfaceOrientation: method in my view, my beginAnimations doesn't animate anymore! The code looks something like this: - (BOOL)shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation) interfaceOrientation { return (UIInterfaceOrientationIsPortrait(interfaceOrientation)); }...