iphone

Can I integrate my existing C++ library in iPhone application

Hi All, Can I integrate my exsisting C++ library in an iPhone application? Thanks & Regards Khushi ...

C++ library integration to iPhone application

Thanks for your support, but will it(integration of exsisting C++ library with iPhone application) effect my application at the time of submision to Apple Store? Are there any chances of disapproval of application from Apple Store? Thanks & Regards Khushi ...

iphone: the quickest easiest way to detect first launch

What's the quickest, easiest way to check if an application is being launched for the first time? ...

Interface Builder can't display 160dpi images correctly ??

Hi ! I'm developing an iPhone app. A simple image is the background of the main view. I've set an UIImageView in the background and set an image in, using IB. the image is a 160dpi PNG image. It appears like CRAP in IB. When running in the simulator it is ok, crisp. How am I supposed to work and place my controls precisely on a such p...

Responsibilities of Delegates and Controllers in Cocoa Touch?

I'm new to development on the iPhone. Just about every sample project (as well as the default project templates) have one or more delegates and controllers. Can someone give me a breakdown of what the delegates are responsible for vs. what the controllers are supposed to do? ...

Custom view transition in OpenGL ES

I'm trying to create a custom transition, to serve as a replacement for a default transition you would get here, for example: [self.navigationController pushViewController:someController animated:YES]; I have prepared an OpenGL-based view that performs an effect on some static texture mapped to a plane (let's say it's a copy of the fl...

What is the void* returned from CGBitmapContextGetData?

I'm trying to get the pixel information from an image and have got to the point where I have my void* data object which is a pointer to the image data. What exactly is this object? I've tried iterating over it hoping that it's an array of pixel info but it doesn't seem to work. I want to get the rgb values for each pixel. ...

Algorithm: array of arrays in Cocoa Touch (perhaps using NSCountedSet)

This one is a bit tedious in as far as explaining, so here goes. I'm essentially populating a tableView on the iPhone with multiple sections, and potentially multiple rows per section. To my understanding, it's best to have an array of arrays so that you can simply determine how many sections one has by sending a message to the top level...

UIPickerView Row Color

Hi All, Does anyone know how to change the color of a row (or row background) in the UIPickerView control from the iPhone SDK? Similiar to the below title for row, however I would also like to change the color of the row: - (NSString *)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component; ...

How can I send mail from an iPhone application

Hi All, Good morning, Can anybody help me out in following problem: I want to send an Email from my iPhone application. I have heard about the fact that iPhone SDK doesn't have any mailing API to send mail. In this case, what are the different ways to achieve this facility. But i don't want to use the following code because it will ex...

Is any Windows simulator available to test iPhone application?

Hi, Is there any windows simulator availabe through which I can test (only testing) my iPhone application on Windows XP? Thanks & regards, Khushi ...

Bonjour Networking Help on iPhone WiTap sample

I can follow most of Apple's WiTap sample, but am sort of stumped on this bit in the send method: - (void) send:(const uint8_t)message { if (_outStream && [_outStream hasSpaceAvailable]) if([_outStream write:(const uint8_t *)&message maxLength:sizeof(const uint8_t)] == -1) [self _showAlert:@"Failed sending data to peer"]; } - (voi...

Exit Edit Mode

I have an array of objects which populate a UITableView. When a user removes the last object from the array, I automatically create a new "default" object. However, in the TableView, when the user gets there, the list is still in "Edit" mode. Is there a way for me to programatically set the TableView back to "normal" mode again? ...

aurioTouch sample app's audio playback/thru not working?

According to Apple's description, the aurioTouch sample app is suppose to "get the audio input and copy it to the output", which I think means that the app will playback/thru any sound the iPhone's mike picks up through the iPhone's speakers. When I loaded the app onto my iPhone (updated to 2.2), however, the playthru feature does not s...

How accurate is the triangulated GPS of the non-3G iPhone?

Does anyone have any experience with the triangulated GPS used by the non-3G iPhone? How does it compare with 3G positioning? Does the iPhone 3G use triangulation in the event that there is no GPS signal available? Is there anyway to determine the accuracy of the non 3G coordinates? Thanks. ...

How to integrate NSURLConnection with UIProgressView?

I'm trying to integrate a NSURLConnection object with UIProgressView, so I can update the user while a file download is happening in the background. I created a separate object to download the file in the background, and I'm having problems figuring out how to update the progress property in the UIProgressView object with the correct va...

Who's responsible for creating the MainViewController instance in the iPhone NavBar example

I'm exploring the NavBar example from the iPhone dev center. More specifically, I'm trying to understand where the MainViewController object is instantiated and I simply can't find where this is happening. The only references to the MainViewController class is in AppDelegate, where there is a forward declaration and #import. However, ...

How do I draw a point using Core Graphics?

I see APIs in Quartz for drawing lines and circles. But all I want to do is to specify the (x,y) cartesian coordinate to color a pixel a particular value. How do I do that? ...

iPhone Documentation - Can I Watch the Getting Started Videos from Linux?

On the Apple iPhone developer center they have some videos such as "Introduction to the iPhone SDK", "iPhone Development Tools Overview", etc. Problem is my mac hasn't arrived yet. Is there any way I can watch these videos on my Linux system? ...

Active connection name - Iphone

Hi, I want to get the name of internet connection type in iPhone? Any help would be appreciated. Regards Uddhalaka ...