iphone

iPhone App rejected because of Three20 "non-public API" "lineHeight" and "previousViewController"

Hi, my app was rejected because of the non-public APIs "3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs." The following non-public APIs are included in your application: lineHeight previousViewController " What can I do? I used the three20-P31 version, but i...

iPhone + UIScrollView

Hello, I have a UIScrollView on screen. Scroll view contains a view in which are UIButtons. The problem is that while scrolling the view, if I press any button in between my scroll view will either bounce to top or bottom of the screen, it means it will not remain at place where I have pressed the button. ...

How to load video from remote server in iphone?

I want to play a video from a remote server and not from youtube. The video should start streaming in the in built video player of the iphone. Can anyone help me with this..... Thanx in advance ...

Viewing CSV attachment in MFMailComposeViewController

Hello everyone, I have an application which generates a csv-file and then attaches it to an email using MFMailComposeViewController. This all works fine. My problem is that I would like to add an option to view the contents of the csv before sending it. This functionality exists in Mail, where an attached csv can be displayed as a spre...

iPhone Dev - @synthesize keyword?

Hi, I am learning iPhone development. In the book examples, there is @synthesize keyword is mentioned for properties. For a control, I define property in .h file but NOT @synthesize in .m file. I am accessing to property of text box with .text attribute. Also I have linked outlets of a text box, and text box's name is different than the...

Table footer view buttons - iPhone

Hi Guys, I have some signup form that had email and login text fields as table cells and signup button as button in footer view. That all functioned superb, here is the code frame = CGRectMake(boundsX+85, 100, 150, 60); UIButton *signInButton = [[UIButton alloc] initWithFrame:frame]; [signInButton setImage:[UIImage imageNamed:@"butt...

How to handle touch events on UI Controls

Hi, I have a query related to Touch events on the UI controls. I have 4 controls on the screen ( UITextField, UISlider, UISwitch, UIButton ). If the user touches any of the control on the screen, I want to fire touchesBegan and touchesEnded events on those controls in which I would implement some code. Please let me know how to fire ...

iphone - IB display an image name that been deleted (reference and trashed)

hi. when i choose a uiimageview in interface builder it display in the image pick list (of this imageivew) an image name that been deleted from this project (deleted:reference and trashed), why the image name still on the list ? ...

iPhone Application records sounds and saves those sounds

My application will record and store some sounds to play them back later. Right now, I can record the sound which is saved in temporary folder. Where is the best way to store sounds to play back later? Do I need database or just store as files? ...

libzip corrupting PNG files when compressed on iPhone device, but not in Simulator

Hi, I've inherited a project that at some point creates a zip file, adds an XML file to the zip and then adds a number of PNG files to the same archive. All works fine on the simulator, but whenever I run the same code on the device itself the resulting png files are altered and unopenable when opened on my Mac. They still appear to b...

download web page data in objective-c iphone ?

How you get web page data and set the data to string ? somthing like : NSString *str = GetWebPageData("www.mysite.com/webpage.html"); in the str, i will see "html my web page html" for example ...

whats the different between nibNameOrNil and ViewDidLoad methods ?

whats os the difference between initWithNibName and ViewDidLoad methods ? can i use them both? ...

Finding the systems connected in local network from iPhone?

Hi, I am developing an application which identifies(find) all the systems connected in same network/LAN to share the data. could please share with me how to identify(find) the systems which are connected in same network/LAN. thanks in advance. ...

getting google translate api for iphone

hi, i want to use google translate api from the iphone. what i found is : http://code.google.com/p/gdata-objectivec-client/ but in the list i can not see the translate api. where i can found the library ? thanks. ...

How to setup OpenGL camera for a racing game

I need the view to show the road polygon (a rectangle 3.f * 100.f) with a vanishing point for a road being at 3/4 height of the viewport and the nearest road edge as a viewport's bottom side. See Crazy Taxi game for an example of what I wish to do. I'm using iPhone SDK 3.1.2 default OpenGL ES project template. I setup the projection ma...

iPhone - using YouTube APIs in iPhone app

Hi I was going through the Google API for the iPhone but couldn't quite understand the use of YouTube API in iPhone apps. Neither could I find any good tutorials. Can someone please point to documentation/samples which explain how to use the YouTube API in an iPhone app. Thanks. ...

How to get older SDK and do I need to?

I have OS 10.6 on my mac. I started with iphone SDK for snow lepard which builds for SDK 3.0 to 3.1.2. I'm ready to submit my app to the store. I'd like older iphones to use it as well. I can't find Apple's link for SDK 2.2. Only the link for the 3.1 sdk. Do I need to release the app built with 2.2 ? If so where can I find it? Ca...

Using Scanf with ObjC and iPhone

Hi, trying to make an iPhone app and going through the tutorials and books recommended by those before me :) I'm trying to find information on the scanf/storing user input data from a text field into a variable which I can use later in my program. The text field is actually a number field, so I am trying to save the integers they input a...

'TileMap' may not respond to '+mapNamed:'

Here's an odd one. I have a class named TileMap with the following interface: @interface TileMap : NSObject { int *data; int tilesWide; int tilesHigh; NSString *imageName; } + (id)mapNamed:(NSString *)filename; - (id)initWithFile:(NSString *)filename; @end The implementation looks like this: @implementation TileMap + (id)mapNa...

UITableView tableHeaderView not painting in SDK 3.0

I am writing an iphone app. I use a UITableView and assign a my UIView derived class to the tableHeaderView property. When I build with SDK 3.1 the header displays properly. When I build with 3.0 the header is never painted. DrawRect is not called. Is this a known SDK bug, or am I doing something wrong? The only thing that changes ...