iphone

how to save UIImagePicker image with a specific name

hi experts, i capture image from iphone using UIPickerController, then how programatically to save it with specific name, and to call the image later (by using the name), is it any possibilities to change the image size eg. from 100 x 100 pixels to 50 x 50 pixels thanks ...

UITableView Problem with Sections

Hi, I have all the code written out to divide an NSMutableArray into sections for a UITableView. But in cellForRowAtIndexPath I am finding that indexPath.row returns only the row for the current section. Is there any way to simply provide the number of the row for the entire UITableView. If anyone needs to see the code I will attach it b...

What is the touches canceled event, and how is it different from touches ended

I just don't understand what apple means by the touches canceled event and how is it called. ...

How does the Maps app on the iPhone 3Gs rotate as you turn the phone?

On an iPhone 3Gs, if you click the little "show my location" symbol on the lower left of the window twice, it switches to a mode that causes the map to rotate so that north on the map faces towards north according to the compass. I don't have a 3Gs, so I just found out about this from a buddy who does have one. I tried applying a rotati...

Why are (UDP multicast) packets not being recieved?

So, I've been trying to figure out exactly why this isn't working but I haven't a clue. I've managed to send packets from the iPhone and receive them on my Mac. And according to tcpdump my mac is correctly sending the packets. Additionally, if I run this in the simulator it works fine. This leads me to believe that it's a network problem...

Installing 2.0 sdk simulator

Few days back i upgrade to 10.6 and have to install everything from start. So i downloaded new sdk and install it but problem it has simulator above 3.0! But sometimes i have to test things in 2.0 onward, so how i can do this? How i can install 2.0, 2.2 and 2.2.1 simulator now? ...

editing style for custom UITableViewCell

how do i set editing style for custom UItableviewcell like this image. this is shopping cart view ,so i am gonna have many UITableViewCell, out of other fields only Qty field is going to be editable. thanks ...

Quicktime Web Player resizes in iPhone Safari

Hello all, I am using the following code to show a quicktime player in my website when it detects an iPhone Safari browser: {document.write('<object id="id1" type="video/quicktime" width="326" height="16" style="height: 16px; left: 187px; position: absolute; top: 266px; width: 326px; z-index: 1; "> <param name="src" value="http://websit...

How to make UITableView(Controller) catch multitouch events?

I have a subclass of UITableViewController that works as expected. I'd like to capture multitouch events for the whole table to do something with them. The way I understand it, I should make the tableView of the controller be a subclass of UITableView. In that class I could capture the touchesMoved etc events. But I also understand tha...

how can i use normal UIViewcontroller as navigation controller?

Hi, I am using normal UIViewcontroller. But when i use pushviewcontroller in it, it is not working? What i have to do ? Any help? ...

In App Purhcase setup for a rejected app

My app was rejected as l needed to use in app purchase for a feature, but l cant seem to get a list of products. Everything is setup just does not return list of products. Does anyone have a list of steps l need to do as l am sure its around the setup of the app, certificates etc and not the code Will also consider paying for feature i...

Making good use of XCode performace tools

What are the best practices, tricks, and tutorials for using XCode's performance tools, such as the Leak Monitor and the CPU sampler, for someone trying to debug and enhance performance of an iPhone application? Thanks! ...

How to add (id) sender to the following -(IBAction)?

How do you add a (id) sender to the following code? - (IBAction) gobutton: (UIButton *) button5 { Everything I try fails, any help would be appreciated. Thanks. EDIT: I need to keep the (UIButton *) button 5 reference in the (IBAction) ...

How to add "more" button to Tab Bar?

My iPhone app has a tab bar controller at the bottom of the view - and at the moment I have three buttons on it. However, I want to add more, but to do so I need to turn the last of the three buttons into a "More..." button, because otherwise the text on the other buttons runs into each other. I know that if you have over 5 buttons in t...

Introduction to 3D Graphics Programming

Hi everyone! I'm a self-taught programmer with absolutely nil 3D programming experience. A client of mine has related to me an idea for an iPhone app that requires OpenGL ES 2.0 for it's inherently complex 3D structure and animations. Where do I start on this ( albeit long ) journey toward OpenGL ES competence? I'm willing to put in ...

Any simple interpretation about 3G

Can anyone explain 3G technology from a programmer's perspective? I am a little bit confused. For instance, if I develop a mobile application with Android or IPhone SDK. Shall I concern about the network I used? Or the SDK has a same interface for all those different network(3G,GPRS,CDMA). Moreover, is 3G a specific technology or a set o...

How do I connect a bluetooth accessory to an iPhone via bluetooth?

I've seen some conflicting information about connecting a device to an iPhone via Bluetooth. Basically, I've created an iPhone app that should communicate to a hardware device I've built with a bluetooth chip in it. I've seen ExternalAccessory.framework is the way to do this, but do I need to participate in Apple's "Made for iPod" prog...

Customizing Cocos2D menus

I've decided to stick with cocos2d for game dev... For the menus it there a way to make it more customizable, like maybe instead of text maybe an image then is there a way to arrange them differently versus just in the center of the screen ...

logic to count steps while walking using accelerometer feature in iphone

How can I use the accelerometer feature in the iPhone to calculate distances while walking? ...

How to determine App download date?

How do I determine the date(s) an app I developed was downloaded from the App Store? ...