iphone

iphone store kit : how to catch cancel event

Hi guys. Here's my problem : When using storekit for in-app purchase, i'm displaying a "loading" view to tell the user to wait for a few seconds while the process is in progress; but let's say this same user, when the storekit ask him for his itunes account password, press the "cancel" button... How can i "catch" this event in order to ...

read data from the table view

how do i read the content displayed in the table. My case is : i have a table where i display the values from string array . now when i select a particular row, i want to read the contents of the selected row of the table. i tried reading the data from the NSMutable array, but does not work. Please help ...

Resizing iphone keywindow's main view

Edit: When I start the App without the status bar on top everything behaves as planned. With the status bar I coulnd't get the views to act as I wanted. It looks as if the UINavigationController keeps resizing the content view by subtracting the 20 pixels of the satus bar... I don't know... Hi, I created a simple UINavigationController-...

iPhone Instruments Leaks is confusing me. UIView fade out animation causes a lot of tiny leaks

I'm trying to kill all memory leaks in my iPhone 3.0 application. CLANG builds with all lights green so now I'm analyzing with Instruments. This is easier said then done, since it is indicating hundreds of 16 byte leaks after just a few minutes of using the app. It seams to be mainly in UIKit, and the common part is that the end of the...

[iphone] use NSString in other method?!

It's really embarrassing but i stuck on it for two hours of trial and error. I declared an NSString in the interface as: NSString *testString; Then i made a property and synthesized it. I allocate it in viewDidLoad with: testString = [[NSString alloc] initWithFormat:@"thats my value: %i", row]; If i want to get the value of the st...

Selective Autorotation of UIControllers

Hello, I did some experiments on autorotation. The situation: I have a TabBar 4(tabs), three should be portrait only. The last one is a UINavigationController, which by itself should not autorotate any of the stacked controllers. It is basically a browsing application, as I show file and folders everything should be portrait. Some times,...

[ CORE PLOT] label not showing

Hi, I download library coreplot and i try example and i try this tutorial http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application. I have two problem: 1) When I compiled example i don't have error and warning but label of example not showing. 2) inside the tutorial the command "axisSet.xAxis.axisLabelOffset = 3....

mobile network friendly host

i am developing an app for iphone, it is a client side application. and i found the 3g network is very slow, should I change the server host to a mobile network friendly host? any suggestions? ...

how to display thai character in tableview?

i have data base in which there is thai(language) data.now i want to parse data through data and display this thai data in my table view.how it possible?if it is possible then please advise me? ...

iPhone - Memory leak while displaying UILabel.

hi, I am using a simple function to display messages to user through a label. The function is as follows: -(void) showMessage:(NSString*) message { Message.text = message; [message release]; } There is no memory leak if I call this function from the main thread. But if I call this function from a separate thread, the instruments m...

SMS gateways for iPhone

Hi all, I am developing an application for iPhone which need to send an SMS message to mutiple users at a time .Is there any third party solution to do this.Is there anyone previously done this.Looking for a solution. Thanks in advance ...

How do I find the size of an SQLite database in an iPhone application?

Hi, In my iphone application,i have used sqlite3 for storing the data. how to get the size of the database using the iphone functionality? if anybody has any code or any useful link or any other resolution,which would be appreciated. Thanks, Mishal Shah ...

Video streaming from desktop to iphone

Hi, Could anyone shed light upon how to capture a live video which is on a desktop and integrate the same to my iphone, so that i can view same live video on my iphone. I am stuck as to where to start. If anyone could give technical info would be greatly helpful. thanks in advance ...

Geospatial library for the iPhone

I'm thinking about creating a location-aware iPhone app that could work offline by coming packaged with a list of points of interest (POIs). The app would read the user's current location from CoreLocation and produce a list of the POIs in order of proximity to the user's current location. I need two basic geospatial functions to get t...

A question regarding networking

I have to communicate with server I have to questions in my mind 1>code that connect to server 2>code that try to connect to server untill and unless connection establish with server. ...

iphone sdk camera overlay animation, how can stop in preview ?

Hi, I've made an animation over the camera and all works fine. I can start the camera, move the image in overlay, and save it as a picture. My problem is that in the "preview" the animation keeps on moving, and I don't know when camera enters in this mode. I don't know how to check a bool or do something that can stop overlay. Is there...

Serving PNG images over http to Three20 iPhone app

I'm trying to serve up png images from a Linux (c++ / Qt4.5.x) server daemon to an iPhone application that is using the Three20 framework - specifically I want to use the TTThumbsViewController view. I managed to make any web browser view images with the following returned in my daemon when it "GET"s a request: QTextStream os(socket); ...

How to post a hyperlink in objective-c?

Hello, How can I post a full hyperlink with its parameters to another link in objective-c? Like: url=http://www.test.de/index.php?param1=23&param2=23&param3=345 Thanks ...

Disable hyperlinks in UIWebView

I want to disable hyperlinks in UIWebVIew after the initial page loaded without disabling the scrolling feature. That is, I should have user interaction enabled. ...

iphone : how to preload data at a certain time of application loading, just after awakeFromNib method

hello, in my (quite simple) application, --> i have one subview (named "Splash") loaded in the main view at launch time, like this (in my mainView class) : -(void)awakeFromNib{ [self addSubview:splash]; } --> I have also a UITableView (named "myTable") loaded by clicking a button (which calls the IBAction named "LoadData:") in the ...