iphone

openURL tel: on iPhone 3.0.1, is it asking for confirmation before dialing?

I need to change the message when it ask for confirmation, it only show you tel number. i want to flash custom message for better understanding. ...

UITableViewHeader (fix position)

Hi, I added a UITableviewHeader to my tableview, is there a way to make it fix. I want to scroll with my TableView but always be able to watch the Header. thanks, ...

A question related to iphone book

Can u give me name of books necessary for basic knowledge of making software on iphone with it's indian price? ...

Removing NSOperation from queue when view changes.

I am creating an application which involves so many web-service calls. I am using NSOperation to execute the web-service calls. There are several views in the application and I'm calling the web-service each time the view loads. Since it is navigation, if user decides to go back to the previous view even before the operation gets complet...

iPhone: how do I set up a clear window-size "blocker view"?

I feel like this should be obvious to me, but for some reason I can't figure this out. I have a navigation interface with nav bar, tool bar, and primary view. Sometimes the user takes an action that causes a progress indicator to appear in the middle of the view. While the progress indicator (which is a custom UIView) in spinning in the...

iphone: floats cast to unsigned ints get set to 0 if they are negative!?

try it out: volatile float bob = -344.0f; unsigned int fred = (unsigned int)bob; printf("%d\n",fred); output will be 0. obviously I am expecting it to wrap around just as if I had cast from a signed int to an unsgined int (which does wrap and act as expected on the iphone) we assume it is something to do with the floating point set...

Change UIActionSheet after doing it's job

Hello, I have to import some XML data into my app. Now I open a UIActionSheet and add as a subview a UIActivityIndicatorView. Initially I show a progress wheel and a button with 'Cancel'. When the XML has been imported, I want to hide the progress wheel (this it's easy) and change the button into a 'Done' button, all in the same UIAct...

upload image in MYSpace in iphone sdk

hi i want to upload an image from my iphone to Myspace.So is there any Api is there????? Thanks ...

Audio queue start failed

Hi , i'm developing a project which has both audio streaming and playing audio from file. For audio streaming i'm using AudioStreamer and for playing from file i'm using avaudioplayer. Both streaming and playing works perfectly as long as the app is not interrupted by a phone call or sms. But when a call/sms comes after dismissing t...

How to reduce the size of my iPhone application?

Hi, I am looking for ways to reduce the size of my iPhone application. Currently the size of the app in my debug-iphonesimulator folder is 112 MB and the size in debug-iphoneOS is 57 MB. I have about 13 view controllers (including navigation controller, tabbar controller etc). The size of my sqlite3 db is only 50 kb. I have 100 imag...

How to go to the app store (from within app) programmatically?

After clicking on a UIView I want to take the user of my app OUT of my app and to another app on the app store. How do i do it? ...

Issues adding search to iPhone app

Hi, Basically I'm trying to add a search function to my iPhone app, but I'm not having much luck at the moment. I've downloaded the Apple provided Table Search app, and have copied across the code to mine. It builds OK, but here's the problem. Unlike the Apple example, all my data is stored in an array, that is accessed by calling [ciPa...

Assigning values : difference between properties and class variables ?

Hey guys, I noticed that I rarely use properties, due to the fact that I rarely need to access my object's variables outside my class ;) So I usually do : NSMutableArray *myArray; // not a property ! My question is : even if i don't declare myArray as a property, does iphone make a retain anyway if I do myArray = arrayPassedToMe;...

Convert to NSData to Bytes

Hello, I want to convert the NSData to bytes array. I have one webservice to which I want to pass this bytes array. How can i do? Thanks you ...

How to implement full advertisement using greystrip sdk?

I want to display a full advertisement in my application. I don't know how to implement it. I know this is possible using greystrip sdk. Can you give me advice? ...

NSMutableUrlRequest eats plus signs

I create NSMutableUrlRequest for sending data to server, add all necessary fields to it and then add the string for sending like this: [theRequest setHTTPBody:[postString dataUsingEncoding: NSUTF8StringEncoding]]; postString is a usual NSString. The problem is, when I receive this request at the server, all the plus (+) signs disappe...

get current URL of UIWebview

Hey guys, I already tried getting the current url of my UIWebView with: webview.request.URL. Unfortunately the NSURL was empty. Anything wrong here? I'am working with Xcode 3.2.2 beta 5. The code above should be executed in the UIWebViews delegate didStartLoad... Thanks a lot! ...

difference between viewcontrollers in iPhone

Hello, What is the difference between different View Controllers [like, NavigationViewController, Table ViewController,TabViewController etc...] in iPhone? is the difference only is display format? or also in handling the different views on it?? Thanks in advance. ...

Navigation ViewController in iPhone

Hello, Please tell me what all ViewControllers can be placed on UINavigationViewContoller? i'e can i make the UINavigationViewController as root view for UITableViewController/UITabViewController? Thank You ...

Is XML a good logic to load data??

Hi stack, i'm working on an app that loads some data from xml file from internet. Is this a good way to develop iPhone apps??...I think xml is more light than SQlite database... Basically my logic is: 1 - Parsing Xml file from internet to retrive the data 2 - Load data on device Security?..other stuff??.. Thanks Mat ...