iphone

Lots of unnecessary frameworks load into my iPhone app - can I prevent this?

There appear to be a lot of unnecessary frameworks loading into my iPhone app. I didn't link against them in Xcode, and I don't need them. When I run "lsof -p" against them on the iPhone, I see these (and others) that I can't explain: CoreVideo AddressBookUI JavaScriptCore MobileSync EAP8021X BluetoothManager MusicLibrary CoreAudio ...

"Cocoa Touch Application" Template from XCode 3.1.1

Just installed the latest SDK for iPhone 2.1. When I go to File -> New Project in XCode, under the iPhone OS Application selection, I don't see a template icon for "Cocoa Touch Application". Am I missing something? Anything else I need to download other than the iPhone SDK? If not, how do I add it to the "iPhone OS Application" templates...

iPhone application : is-it possible to use a "double" slider to select a price range

I'm working on an iphone application (not web app) and I'd like to build a form asking a user to indicate a price range. Instead of using two text fields, I would prefer to use a double slider to set the minimum and the maximum price. I know that it is possible de use a simple slider (sound control for exemple) but i've never seen a dou...

iPhone development on Windows

Is there a way to develop iPhone applications on Windows? I really don't want to get yet another machine. There is a project on http://code.google.com/p/winchain/wiki/HowToUse that seemed to work with iPhone 1.0, but had limited success with iPhone 2.0, plus it requires all the Cygwin insanity. Is there anything else, or do I have...

What is the best way to pack javascript without getting perfomance flaws?

I am searching for a way to compress javascript for the iphone but don't want to use a lot of cpu time on the small an rather slow device. ...

Is it possible to develop for the iPhone without an iPhone?

I know there are emulators, but is this good enough? If someone is serious about iPhone development, do they absolutely need an iPhone? ...

iPhone Full Screen Image

How do I go about making an image or section of the page full screen on the iPhone? I have an image that is 480 x 320 and I want to pull that up full screen on the iPhone but it has to be within a webpage so that I can make the image a link back to the previous page. Currently if I drop the image on a blank page and I open it up on the...

How to tint a UIButton?

I'm in the process of adding custom buttons to my iPhone UI and want to make them have the glassy look from Apple's apps. I have a good default glass image, but I'd hate to have to have a separate image for each tint I want (red, green, blue, etc.). Is there a way to load a grayscale PNG and adjust it to the color I want? Better yet, i...

How can I take a photo with my iPhone app?

I'm writing an iPhone app with Cocoa in xcode. I can't find any tutorials or sample code that shows how to take photos with the built in camera. How do I do this? Where can I find good info? Thanks! ...

Tax on iPhone developer payments

Anybody know how Apple deals with taxes when they pay developers their 70%? Do they take out taxes before paying you your share or is it simply up to the developer to state the amount on their taxes? ...

presentModalViewController modal dialog does not cover Tab Bars!

I have a situation where a modal dialog does not cover the Tab Bars of the UITabBarController derived view. Has anyone experienced a similar issue? This only happens when a second modal dialog is being displayed after the first one is dismissed. ...

How can I upload a photo to a server with the iPhone?

I'm writing an iPhone app that takes a photo and then uploads it to a server. How do I upload a photo to a server with Cocoa in Xcode? I suppose I use NSUrl somewhere. Thanks! ...

How do I prevent the iPhone screen from dimming or turning off while my application is running?

I'm working on an app that requires no user input, but I don't want the iPhone to enter the power saving mode. Is it possible to disable power saving from an app? ...

Variable UITableCellView height with subview

Hi everyone, I want to create a UITableView with varying row heights, and I'm trying to accomplish this by creating UILabels inside the UITableViewCells. Here's my code so far: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *MyIdentifier = @"EntryCell"; UITabl...

Upload photo to arbitrary FTP with iPhone app

I'd like to upload a photo from my iphone to an arbitrary ftp. How can I do this with Cocoa / Xcode ? Thanks! ...

How do I wrap text in a UITableViewCell without a custom cell

This is on iPhone 0S 2.0. Answers for 2.1 are fine too, though I am unaware of any differences regarding tables. It feels like it should be possible to get text to wrap without creating a custom cell, since a UITableViewCell contains a UILabel by default. I know I can make it work if I create a custom cell, but that's not what I'm tryin...

iphone viewWillAppear not firing

I've read numerous posts about people having problems with viewWillAppear when you do not create your view heirarchy JUST right. My problem is I can't figure out what that means. If I create a RootViewController and call addSubView on that controller, I would expect the added view(s) to be wired up for viewWillAppear events. Does anyo...

text from UITextView does not display in UIScrollView

Hi all, I want to have a UIScrollView with a set of subviews where each of these subviews has a UITextView with a different text. For this task, I have modified the PageControl example from the apple "iphone dev center" in order to add it a simple UITextView to the view which is used to generate the subviews of the scroll view. When I r...

iPod touch for iPhone development

I am thinking about buying an iPod touch to make some money on developing apps for the iPhone. I like the concept of the App Store and had a quick look at it with iTunes. Looks like applications are categorized, to be iPhone OR iPod applications. Some apps which are free for the iPod seem to cost for iPhone users. What is the difference...

Using Interface Builder for UITableView's

I'm very early in the iPhone development learning process. I'm trying to get my head around various pieces. Right now I've just taken the basic NavigationController template and I'm trying to create a simple grouped table view with a couple of text fields. What I can't seem to do is to get Interface Builder to allow me to drop a UITab...