iphone-sdk-3.0

Stop deceleration of UIScrollView

What's the best way to immediately stop the deceleration of an UIScrollView in iPhone 3.0? I would like to keep the deceleration of the UIScrollView until it naturally stops or the user performs a certain action, whatever happens first. Thanks! ...

Core Data Store Sharing between iPhone Apps

Hi, Is it possible to share a core data store between two different iPhone apps signed by the same developer? I would like to develop an application where one iPhone app will save a stream of data, which can then be read by the other app. Is this even possible? Thanks a lot! ...

iPhone NSURL String/HTML Local App Resource Accessed in Another Application

Using iPhone SDK: 3.0 (Firmware 3.1.2) I'm new to iPhone development and researched here and google for a few hours with no luck. Here's the issue: I have an ebook in epub format that I want to sell on the app store, but the app store requirement is that the epub must be contained in an iphone app. So, I decided to make an app that ...

how to get the event that switch tab menu on iphone

hey i want to catch the event that controll the switch tabs on the UITabBarController how can i accomplish it ? thank you guys ...

How to add (id) sender to the following -(IBAction)?

How do you add a (id) sender to the following code? - (IBAction) gobutton: (UIButton *) button5 { Everything I try fails, any help would be appreciated. Thanks. EDIT: I need to keep the (UIButton *) button 5 reference in the (IBAction) ...

How to show multiple customcell and a custom section header in one uitableview?

I want to create a tableview like this. All sections have custom section header views. The first row of first section contains a custom row rest of the first section cell's are another custom cell. Though every section will contain different type of cells. So what is the best approach to achieve this while managing the speed of tablev...

Access nested arrays and dictionaries generated by JSON-framework iPhone

I'm using a Google API to return some JSON, which i have converted to their Objective C types using the JSON-framework (Stig B - Google Code). I now have structures like this: responseData results [0] title = "Stack Overflow" cursor How can i access the nested array results to get at the title value (dicti...

choosing right project template

i've a proect opening with user authentication page (asking username and password). There are some extra buttons here which the app navigate to a single page when the user clicks (up to that point there is no need for table view but from those sub screens app can navigte back to that main page). In addition, if user is authenticated then...

Call reloadData on a UITableView from a different controller

I have a table view that uses a location manager to grab the users location. In my didUpdateToLocation method, i create an NSURLConnection to go off to my webservice which returns JSON. The delegate of the Connection is set to an instance of my JSONController class and in its connectionDidFinishLoading method, i need to call [tableView ...

UITableView Scrolling Crash

I am currently developing an iPhone application which loads data from an RSS feed and displays it in a Tab Bar Application in 2 UITableViews, which we we call TableViewA and TableViewB. In the AppDelegate we have the following method: - (void)getDataWithContext:(NSManagedObjectContext *)context { NSAutoreleasePool *pool = [[NSAutore...

Can I prevent an iPhone OS 3.x app from running on 2.x OS?

I don't want my app to run on an iPhone or iPod with any OS prior to 3.0. I was under the impression that the App store would take care of it for me, but I don't think that is the case. What is the best way to alert the user and then quit? Preferably, I'd like this to happen before the user purchases my app, but if the fact is that a ...

iPHONE: This is not a test user accout please create a new account in the sandbox environment ERROR

Hi, I have created an iphone application with in-app purchase. 5 out of 10 users are reporting the following message when they try to buy something using in-app purchase: This is not a test user accout please create a new account in the sandbox environment. I have tested the in-app purchase and I never got such error. any ...

IPHONE - name of an application on /Applications on jailbroken iphones...

Hi, I have an application using in-app purchase. Apparently, if the user has a jailbroken device with Cydia and is using Cydia's AppSync, the user cannot buy any in-app object, because AppSync interferers with the application. The problem is that the error message Apple shows the user do not makes clear where the problem is. I don't ...

iphone os 3.0 doc set

Does any one know the RSS feed for 3.0 iphone sdk doc set ? I cant update the documentation from xcode. ...

Running an iPhone app with a 3.0 feature on a 2.2.1 device.

I've been asked to add a 3.0 feature (the Media Picker) to an app. But that app must continue to run on a 2.2.1 device. (With the feature disabled) How can I compile this, in such a way that it runs on 2.2.1, without getting a compiler error, for including a 3.0 feature? As per the instructions in the MailComposer example, I've set my...

IPHONE - detecting if the device was jailbroken

Hi, I am trying to detect if an iphone/ipod is jailbreak. Then I thought the application could try to access a file outside its area, for example, try to see if MobileMail.app is there... here is the code NSString *filePath = @"/Applications/MobileMail.app"; if ([[NSFileManager defaultManager] fileExistsAtPath:filePath]) { ...

How to use c++ template class in objective C

Hi Friends, I want to use a Template class of C++ in my Objective C project. I have read that it is supported. When I try to import the template class that is written in C++ I get lot of errors like Cannot find protocol declaration for 'class' etc.. Can anyone give me a simple example of this. Waiting for reply. ...

iPhone UIButton Parent Frame Changing Touch Up Inside Event Issue

I have a UIButton within a UIView. The button is docked on the bottom of the view using the Autoresizing Masks. The button is working fine when the view initially loads and the IBAction is being called successfully. Now when I resize the height of the parent view the button stays docked at the bottom of the view, however now only half...

iPhone/Sqlite - how to get only changed data from server?

I'm generating a pretty big sqlite-file on a server (about30'000 entries, it's about 3mb big) and would like to use that data in my iPhone application. The sqlite-file on the server is generated every hour; some of the data is changing nearly everytime, some of the data changes only rarely. Is there a way only to send the changed data ...

How to prevent keyboard changing from Numbers to Alphabet when the space key is touched?

I have UITextFields on a table to enter values. Some of these fields accept only numbers. I am using UIKeyboardTypeNumbersAndPunctuation for the keyboardType, and shouldChangeCharactersInRange to filter the characters. Also, all the corrections are disabled: textField.keyboardType = UIKeyboardTypeNumbersAndPunctuation; textField.autoco...