iphone-sdk-3.0

stretching sprite object(like rubber) in cocos2d.

hi all, i want stretch the stick like rubber in any direction. Is there any API in cocos2d. Plz help. Thanks in advance. ...

Call an onclick method from one view to another iphoneprogess hub iphone sdk

Hey Guys, I have a view with a button which downloads files when clicked. Question I have is is it possible to call that click method from another view> THanks ...

UIPageControl render quirk with UIScrollView

I'm building an iPhone application and like most I am trying to implement a UIScrollView with a UIPageControl, however I am coming across a very quirky behavior, which I assume may be a bug. Hopefully one of you has seen this before because it is driving me nuts. Basically, the page control works fine, everything is hooked up and works ...

Connect iPhone App to PostgreSQL Using Libpq

I need to create an application for the iPhone that will connect to a PostgreSQL 8.4 database using libpq. The problem is I can't get a simple iPhone that links to libpq to compile. I am however able to get the equivalent application that is a regular Mac desktop app to compile and connect to PostgreSQL without any issues. I'm on Xcode ...

Scrolling Tab Bar with Navigation Tab in each view

Hi All, Project need to show 7 tab bars in the application. So as per TabBar controller I am able to show the 4 tabs at a time along with "More" button which after clicking shows remaining tabs. Also I need to show Navigation Tab for each View. I am able to achieve this till now. But we need to make the Tab Bar in scrolling manner so ...

Problem with testing In App with sandbox test account

Hi, I created a test user account through the Manage User Accounts in iTunes Connect. When you create such an account you have to select a valid storefront for your account. I chose US Store. Now I signed out from the store in App Store settings on my device. Ran the application and tried to perform a purchase. I successfully login with...

IPHONE: UITableView reloadData not working

Hi, I have a UITableView with two sections: free and paid. Each section has a different kind of cell. The free cells have two labels and an image. The paid cells has two labels, an image and a button that allows the product to be bought. Once a product is bought, the BUY button on that particular cell must not be shown again. Said that...

Is an iPhone SDK patch available, or do I need to download the entire tool set?

I've looked around Apple's site, and searched Google, but I can't find anything. I was wanting to patch the iPhone SDK to version 3.1.2 so I can deploy to my device again. I see the download for the iPhone SDK/Xcode bundle, but I was wondering if there was a patch that wasn't 2.7gb. Thanks ...

Iphone sequential animation with setAnimationDelay

I'm trying to chain animation events. The application I'm coding for work has a multiple choice quiz. First you pick your multiple choice answer. The quiz view fades away. Then a label ("correct" or "incorrect") fades in and then fades out. Finally the quiz fades back in again. The events are called and handled by a main viewController. ...

Appearing the iphone keyboard when the view is loading

hai all, in my iphone application i have a login view with two text fields, one for user name and one for password, after the view appear the user need to tap on one of the text field then only the key board appear so that they can enter text, is there any way to put the keyboard up when the view is loaded (ie, the user can directly sta...

how to find that user has changed time in iphone sdk?

I have created an application.in the app i start a countdown timer and save current date as double value in database also i save end date according to countdown timer .after closing and return to app i get time form database find the difference between current date and start date and set the countdown according to that.but a problem occu...

Encryption in iphone and decryption in php

I want to encrypt the sound in objective c (iPhone), so that i can send it to web server, after sending the php automatically decrypt the file. Is there any way, kindly help me... I have sound in NSData variable. ...

imagepickercontroller hangs when playing sound using avaudioplayer?

I am playing sound using avaudioplayer.but when i open imagepickercontroller it hangs?does someone knows about it? ...

mapkit doesn't showing default blue blob on device?

I am using mapkit in my application.i want to show blue blob in mapview.i have set [mapview setShowUserLocation:YES]; but it doesn't showing blue blob.also it's cordinates are -180.0000,-180.0000? how is this happen? is there a bug in mapkit. i am not using location manager to show blue dot.i know that setting showuserlocation to yes wil...

Set First Responder in MFMailComposeViewController?

I'm using Apple's MailComposer example application to send email from within my application (OS 3.0 functionality). Is it possible to set the To, Subject, or Body fields as first responder with MFMailComposeViewController? In other words, the behavior would be: the user presses a button which presents the mail view (presentModalViewCont...

UITextField Memory Leak

Hi, In my code, there is an memory leak, when the Keyboard appears for the first time when I am about to enter values in the UITextField. Can someone please give me some idea about this. In the Interface File IBOutlet UITextField *userEmail; @property (nonatomic, retain) IBOutlet UITextField *userEmail; Implementation File @synt...

how to set mapkit's default annonation location?

I want to pass cordinates to default blue blob of mapkit.but it gives error? how do i show blue blob at my desired location? ...

why AVAudioplayer doesn't stop/pause when viewWillDisappear?

I am using avaudioplayer in my app. on viewwilldisappear i want to pause/stop the sound and on viewwill appear i want to play sound again.how do i do this? i'm using this code on viewWillAppear:- if(self.TickPlayer) { [self.TickPlayer play]; } if(self.TickPlayer.volume<0) { self.TickPlayer.volume=1.0; } and this on viewWillD...

how to get device token from apns to device?

I want to use push notification in my app.i want to know that do i need to include certificate in my app to get device token or i just need to install certificate in key chain and implement only the methods which are described in PushNotificationGuide? actually I'm a bit confused about whether i integrate certificate in my app or not.I j...

UITableView add new custom cell onto selected cell or another suggestion

Hi everyone, I'm really confused about that; I have an example view. it contains an UITableview, this tableview contains approximately four or five rows. I don't know am i right or wrong way ? I'm trying that when the user click to the cell the table, i'm trying to add new custom cell onto the clicked cell with animation, this custom ce...