iphone

Compiling for iOS 3.1.3, using xcode 3.2.3 (and iOS 4 that came with it)

I've downloaded the final version (and never installed any beta versions before) of xcode 3.2.3 with sdk 4, and now I can't seem to find a way to compile my app for a 3.1.3 iOS. Does anybody know how can I do that ? ...

iPhone - view PDF like in iBooks

Hi, I have question about view for displaying multipage PDFs in my app. I have found solutions with webview but they lack ability to zoom and scroll between pages horizontally. Also found solutions using Quartz2D but the same problem as above. Is there any way to present PDF like in iBooks? You can pinch-i/out zoom, list between pages ...

App store testing an Application with inapp purchase feature.

I have a few questions regarding inApp Purchase as follows: i) Do we need to make a product (in App purchase) live before submission or we can make it after app approval. Suppose I have a product in inApp Purchase that is to be in sale by Next week, and if my app with inApp purchase version gets approved this week, then how do the App...

MPMoviePlayercontroller not working in iphone SDK 4 ? - Help Needed

Hello all, Till yesterday My MPMovieController was wokring fine in iPhone SDK 3 . But yesterday when I upgraded the SDK ti iphone SDK 4 my movieplayer stops working it is giving me a deprecation warning on the following line (They have deprecated lots of methods ) moviePlayer.movieControlMode = MPMovieControlModeDefault; My full code...

Listening for events

Hi guys, i wish to PUSH an XML File from a windows PC to the iPad, how and what should i do so that the app can "listen" for events like that. ...

Use NSPredicate for matching id's in two arrays

Hello i have a maybe easy question but i cant handle it yet. I have a Modelclass 'Location' which holds an Array with Category ID's (12, 23, 56). Then i have an Array with all available Category ID's (1,2,3,4,5,6,7,...) All this Categories have an ID are shown in a TableView and are able to select or not. I show a punch of Markers on a...

iphone navigation controler and table view

In my iphone app i have a button which changes the view (to another xib file). How can i have this xib file to contain a navigation controller with a back button (which is at the top) and the bottom part a table view that has a scrollbar? I assume that i have to use navigation controller, uiscrollview and uitableview but i am not sure ...

This class is not a key value coding-compliant

I have created a three files SettingsViewController.h, SettingsViewController.m and SettingsViewController.xib. I am showing the SwttingsViewController.xib on click of a cell in a row. There is a label and slider on xib file. It works fine. But after creating connections using interface builder. i.e drag-drop from redLabel outlet to my ...

Is there any function method to call to check memory consumption on iPhone

Instead of using instrumentation, is there a way to get current consumption? I want to periodically log the memory consumption (or how much free memory I got). ...

iPhone iWebKit Copy to Clipboard

Hi, Just a general Question. Is it possible to copy text in Mobile Safari to the Clip Board with some use of iWebkit JS? (Without the users holding down text, and selecting Copy) Similar to the Copy to Clipboard function that IE has on the PC. Thanks. Edit: This applies to just Specific Text, not the entire document. example: a Va...

Using Salesforce WSDL in iPhone app

Hi I've just started using Salesforce and would like to use the Salesforce API in my iPhone app to submit data from the app to the instance. I generated the WSDL and know the XML field names which I have to send in the SOAP payload. But I haven't been able to figure out how exactly to send the request. I generated the SOAP payload, se...

How do I add a youtube video into my browser using dashcode?

I can't find a way to open just a youtube video with the click of a button using browser template in dashcode. Please help? ...

implementing audioPlayerDidFinishPlaying:successfully: in Flite engine

Hi, I am using Flite text to speech engine in my project stated here. I am getting values from json url and converting them into speech. But, i want to know how to implement audioPlayerDidFinishPlaying:successfully: delegate method and play the next chunk when it's called in Flitetts file. The audio player must play one object after the...

Making an grid of an UIImageView

Hi, I don't know if this is possible, but I guess it is. I have a tableview with custom cells. These cells have a UIImageView as background. But because the size of the cell is relative I would like the image view to adapt its size. This is now problem, I can define that in the Interface Builder. But I don't want the corners of my ima...

how to make UIView animation?

I have implemenetd one animation application.In which there is one main view and another is subview in that view.There is also one button.When user touch on that button i want to disply subview with animation.That view must be display from bottom to top.How it possible.I dont know how it possible. ...

Can we install iPhone SDK 4 in iPhone OS 3

Hi, Can i install a iPhone4 SDK, where my Mac Book has only iPhone OS3? If it is possible will i get all the features of iPhone OS4? ...

Any alternative way to select all photos, which are "copied" in "Photos" app ?

As we know, we can open "photos.app" in iPhone and select multiple photos to copy. Those photos status are set to "copied" , I think. So I just wonder if my app, is there any API for me to retrieve those copied photos ? ...

How to set UITableViewCellStyleSubtitle textAlignment to center in iPhone iOS4?

Since upgraded XCode to Version 3.2.3 with iPhone SDK 4 my code doesn't work anymore. I have a default cell with style UITableViewCellStyleSubtitle and want to set the textAlignment of textLabel and detailTextLabel to center, but nothing happens. Same code used before now not working anymore. On UITableViewCellStyleDefault center alignm...

Develop a website for an iPhone without having iPhone/Mac

Hi, I need to develop a website which will be used exclusively on iPhone and iPad. I don't have those devices, neither do I have a Mac. What are the possible free solutions for me to be able to test the website during development? The most obvious one would be to use an iPhone SDK, but since it costs $100/year but since it is availabl...

MFMailComposeViewController adds null Content-Id

Hi, This is my first post to the group so please be kind :) I am sending a couple of audio attachments from my app as follows: MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init]; picker.mailComposeDelegate = self; picker.modalPresentationStyle = UIModalPresentationCurrentContext; [picker setSubject:@"T...