iphone

it's a google weather api?how to parse such kind of data using NSXML?

Hi!i want to parse google weather API using NSXML so please give me some Guidance for this.My url is: http://www.google.com/ig/api?weather=Ahemdabad and i have taken such kind of steps: NSURL *url = [NSURL URLWithString:@"http://www.google.com/ig/api?weather=Ahemdabad"]; NSMutableURLRequest *theRequest = [NSMutableURLRequest requestW...

how to put some image in table header for iphone

i want to insert come png or some black color in table header - (NSString *)tableView:(UITableView *)tblView titleForHeaderInSection:(NSInteger)section { //tableView.section.backgroundColor = [UIColor blueColor]; NSString *sectionName = nil; switch(section) { case 0: /...

Create annotation

how to create annotation without given an y coordinates ...

Can iphone app be developed in any other language?

Hi all, I was wondering if iphone apps can be developed in any other programming languages like java or C#? Regards, Arvind ...

Scripting alternatives for the iPhone?

I am making a game that I also want to port to many other platforms, and for this purpose I would like to write some of the game logic in a scripting language to ease porting. I understand Apple are imposing restrictions on interpreted code though, and I wonder if there exists any safe scripting alternative for iOs4 and earlier? I am ...

Iphone App behaves differentlt when downloaded from store vs testing on phone

Hi All, Having an issue with an app I have done that has been approved and is on the app store. The problem is I have a section that adds some float values together then uses, NSnumberformatter to convert them to currency. On the iphone simulator and if uploaded to the phone (in debug or release) it works fine and adds up the correct ...

UITextView setText, getting null

I'm messing around with the iphone sdk and with universal apps. I have UITextView in both my iphone class and a shared class I called Shared (In my Shared class the UITextVIew is called textInput). I have a UIButton that when pressed, calls a method of the Shared class since I allocate an instance of the Shared class when app finishe...

iPad UIWebView and different versions of XCode

I have an iPad app with a UIWebView which loads some local .rtfd.zip files. The problem is that if I compile the app with XCode 3.2.2, everything works fine, but if I compile it with newer versions of XCode, I just get a blank UIWebView. Here's how I load the files into the UIWebVIew: -(void)loadFile:(NSString*)file { NSString* resource...

UILabel animated resize side effect

I came across issue where I need to animate height change of UILabel frame or its enclosing view's frame. Label is multiline. The issue is that given with large text which does not fit initially into label(say it takes 3 lines), then animating the label's height to increase, immediately changing 3 line to 4 and then animating the frame ...

share my iPhone develop cert with others

I plan to share my personal iPhone develop certificate with some people. ( 99 USD from apple) I am not sure if this is good place to ask this question. But there are a lot iPhone developers here,and maybe they can give me some helps. My questions are: 1) What should I do to share others to use my developer certificate , and my privacy...

changing background image of button?

HI ALL, I have created two custom buttons using IB and i have set their background image.Now i want that when a user selects a button its background image should change and the new background image should persists until user presses the other button.how to do this? ...

Generate DTMF tones to be played by the iPhone.

Hi! I want to develop an application for the iPhone that generates custom DTMF tones. I assume the pure tone will be played from a memory buffer and not from an uploaded file, and I think I should use AVAudioPlayer class and the method "initWithData:error:", but how do I implement it? Whatever I do, I can't make it work! I saw this cod...

Adding background Image in UINavigationBar

Hi all, Is there a way to add an image in the background of UINavigationBar. There is no direct option through interface builder but I have seen apps implemented this thing. Any help would be appreciated. Thanks ...

Use CGRectIntersectsRect in cocos2d.

Hello, How do i use CGRectIntersectsRect for collision detection? I have one background width 1975 and iam rotating the background one after another ends, so i have one object above background which animate continuously so how do i detect the collision of object and background particular position? Help. Thank You. ...

Error when releasing NSdate from [NSDateComponents components: fromDate: toDate: options:]

Okay so i got this clas called event. It has a property called eventDate wich is a NSDate. I made a method to return how many years it is since the event date: - (double)yearsSinceEvent { double years; // Get the system calendar NSCalendar *sysCalendar = [NSCalendar currentCalendar]; // Create the NSDates NSDate *...

disable one component when other component is spinning

I am presently working with a uipickerview on a view. The picker has two components. First one will have years and the second one will have a list of names linked to that year. The problem is the values in the second component keep changing depending on the year. So i want to disable any movement or scrolling on the second component when...

[iPad] Scaled UIView disappears on orientation change

Hi @ all, in my iPad App i'am resizing a UIView to 60% of its original size magController.view.transform = CGAffineTransformMakeScale(SCALE_FACTOR,SCALE_FACTOR); that works fine so far but if I rotate the device the UIView gets more or less clipped. I have this issue only on the device in the simulator everything works perfect. gree...

phonebook iphone webapp

Hi, is it possible get all phonebook of iphone with a web application?? Best regards Samantha ...

iPhone Website preview in Windows & Ubuntu

I'm using iPhone simulator in Mac for iPhone web devlopment with jqTouch. I want to know , how to check web design for iPhone with Windows or Ubuntu. I tried iPhone Air but I don't like it. It's too small. Another tool or websites available for iPhone Web Development with Windows or Ubuntu. ...

iPhone Settings Menu - creating a list that allows user to add, edit and delete items

I am looking to create a settings menu feature that allows users to add, edit and remove items from a list. In adding an item to the list, the user will then be prompted to add some further sub-data such as name, value etc. The list should only allow one item to be selected. As far as I can see this is similar to, but beyond the capabili...