apple-ios

Can we use UI Automation tools with the iPhone Simulator?

I’ve been using the new UI automation tools with Instruments and the iPhone SDK 4.0, but so far I haven’t been able to get it to run under the iPhone Simulator. I’ve tried setting the target to every location possible—my build folder, the app folder in ~/Library/Application Support/iPhone Simulator, etc.—but I get an error message when I...

Bundle ID Suffix? What is it?

I'm new to the iPhone submission process. Apple asks for the Bundle ID Suffix. What is this? Not sure what to put here and what the significance of it is. ...

Memory allocation tool shows 100+ MB and crashes application

Hi, I ran the memory allocation tool and found that the "overall bytes" starts at 3.0 MB and reaches more than 120 MB when I navigate through screens (consist of UIViewControllers, buttons ...etc). And also, the number of "living bytes" shows around 20~25MB and the application gets crash at that point. Here are some points about my app...

Should we take iPhone 4-sized screenshots for app store submission?

So far I haven't been able to find the specifications for the iPhone screenshots we'll submit along with our application. (It's universal, so I'm also taking iPad screenshots.) Can they / should they be of iPhone 4 resolution (640x960 instead of 320x480)? ...

iPhone SDK 4.0.2?

Has anyone had any luck installing Xcode 3.2.3 + iOS 4.0.2 SDK? I've tried on two different machines, on a clean install of Snow Leopard, and I've re-downloaded the whole 2GB package several times (I mean several, a dozen perhaps). Yet installation immediately fails for me every time. Here's what I got from the Console: PackageKit: -...

Changing the editing control of a UITableViewCell

I overrode the method: - (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath to make a plus button appear next to a cell. After the user edits the cell's contents, I want to change it from a plus button to a minus button. The logic is already written in thi...

Implementing a table view header like Apple Contacts

How can I implement a header row like in Apple's Contacts application on iOS 4? Features: Transparent background Cell expands to show all information provided Press and hold labels to invoke copy menu Image on the left side When going into edit mode, 3-11 table view cells are revealed with a smooth transition for editing, to the right...

Developing for an ipod touch 4g

I am a software engineering student and i signed up for an embedded apple development class I have Mac OS X Leopard 10.5.3 and i have an ipod touch 4g I understand that the 4g runs ios sdk 4.1 and i am aware to use certain features i would need that sdk. In addition, i would need atleast Mac OS X Leopard 10.6.2 to use ios sdk 4.1 At thi...

Iphone: Apllication feasibility

Hi, I am very new to developing apps on the Iphone (In-fact I am new to application development all together). I would like to know what the feasibility for an idea for a app on the iphone is. 1)The application would allow users to download content (audio or if possible video files) onto the device. 2)Each of these files will need to be...

Getting the size of the iPad on-screen keyboard after rotation

For an app I’m designing for the iPad, I have a scroll view with some text fields/text views in it. In order to keep everything visible, I adjust the contentSize property of the scroll view to add a buffer at the bottom that corresponds to how much the keyboard overlaps the scroll view. Here’s the code (there’s some app-specific stuff he...

Has anyone got a fix for the GLImageProcessing sample for the iPad simulator?

This is sample code from the Apple and yet does not work correctly on the iPad simulator. I don't have an I've been trying to get it to work correctly on the iPad simulator. The image is offset to approx the center of the screen, but not exactly. ...