iphone

Resizing UITableView on RootController

Is it possible to resize the UITableView on the RootController of a nav based app? When RootViewController.xib is opened in IB, there isn't a view. Just the UITableView. Clicking the inspector and then the little yellow ruler, frame height is grayed out. I'm adding a toolbar programmatically to the RootViewController: [toolbar setFr...

iPhone Core Data Example produces exception

No longer under NDA. There was an ommision in the iPhone Core Data example, but is now corrected. Also the sample code was always correct, they just left out some details in the tutorial. (Please refer to iPhone Dev Forums for explanation) I built an app twice and received the same error twice (but in 2 different places): Termina...

any chance to reject mp3 player application by apple?

hi i am planing to devolop an iphone application that download mp3 files to my application folder and play. Is der any chance to reject my application? ...

iphone semulator loading problem ?

I develop a iphone application using cocos2d.But after including the sound file a loading problem is found. I am not understand why the problem is occur. I send link an image(get from consol).In this image the error is showing. link text ...

Creating an IPhone Map application

How can i create a map application for Iphone . I know that UIwebView can be used to display map . But is there any native API available on IPhone(which the native iphone map application uses)? ...

How to invoked methods of external .h files in iphone

Hi to all In my iphone game I want to add external .h and .a files. I am adding them by using add project option given in Xcode. It get added but I want to invoked the methods given in the header files. As per instruction given to us we have to call one method which is declared in external header file. We have to call that method insi...

Is there an iPhone SDK API that I can use to get the current wallpaper image?

Is there an iPhone SDK API that I can use to get the current wallpaper image? I would like to use this image in a game. ...

Where should I store an image selected on the iPhone?

I want to take a picture or select an existing picture from the users existing photos. What is the best way to do this? Specifically I am concerned where I should to store the image. The storage location should be private to the application. I need to be able to reuse the image as a background every time the application opens. Thanks! ...

iPhone Out of Memory WEIRD crashing problem

Hi My app crashes after about 20 minutes with status 101 (Out of Memory, I believe) Debugging using Instruments - ObjectAlloc and Leaks gives me no clues. The ObjectAlloc graph stays at a nice constant level of around 1 million bytes (1MB), as does the Net # of allocations. I have got rid of all leaks. I thought it could be something ...

What is the range of bluetooth and is it strictly 1:1?

Does anyone know what kind of range can you get from the iPhone bluetooth? Also, would the connection be strictly one to one? I know you can choose from a number of peers to connect to but once the connection is established, it seems you can only transfer data between one peer? So basically, is it possible to create some kind of "multipl...

Mac OSX/iPhone error handling in the App Delegate?

Hi all, I'm curious, how do most of you folks handle errors such as HTTP Forbidden or 5xx type requests from a server? Or say an exception is thrown in one of your UIViewControllers? Do you typically bubble up the error to the App Delegate and handle generic "window" level errors at that point? Do you couple errors directly into the UIV...

Objective C HTML escape/unescape

Wondering if there is an easy way to do a simple HTML escape/unescape in Objective C. What I want is something like this psuedo code: NSString *string = @"&lt;span&gt;Foo&lt;/span&gt;"; [string stringByUnescapingHTML]; Which returns <span>Foo</span> Hopefully unescaping all other HTML entities as well and even ASCII codes like Ӓ a...

iPhone ad hoc distribution in a team environment

I am a developer working on several iPhone apps. I am an administrator in our Apple dev portal team. The Agent of our team is NOT a developer. I understand that ONLY the Agent can request an ad hoc deployment cert, and prepare an app for ad hoc distribution. I assume that the Agent can generate the certificate and pass them to me so tha...

iPhone installed base upgrade rate.

I am new to iPhone development and have no idea how fast or what percentage of the user community will upgrade to the v3.0 iPhone software release scheduled for mid year. This question is motivated by the new push feature slated for the new release. Push would be great for my current App in development but if there is no mechanism emplo...

Multiple iPhone Developer Accounts on One Mac?

I have searched but cant find this question anywhere. My wife and I are about to take on iPhone development and we've only got the funds to purchase one iMac 24" to do this. Anyone out there with iPhone development experience know if two different Apple developer accounts can be profiled on one development Mac? Not only via the devel...

Can we update the icon in iPhone SDK 3.0 like the calendar app does?

On the iPhone and iPod Touch the calendar application changes the icon ever day so that it displays today's date. I have used a support incident with Apple to figure out how to do this in 2.x but they say you cannot. Has anyone found an API in the new iPhone 3.0 SDK that allows this? ...

drawAtPoint: and drawInRect: blurry text

When drawing strings using drawAtPoint:, drawInRect: and even setting the text property of UILabels - the text can sometimes appear slightly blurry. I tend to use Helvetica in most places, and I notice that specific font sizes cause some level of blurriness to occur, both in the simulator and on the device. For example: UIFont *labelF...

iphone error dialog?

I wonder if is possible display a dialgo when a unexpected error happend in the iPhone (and not quit blindy the app!) and have time to log or send by email the crash... ...

How to Reload a UITableView While I am Looking at It

When I have a UITableView as part of the visible view controller, how can I reload it so that the data I am looking at changes to the new data. Just calling reload doesn't seem to refresh the data until I scroll it. ...

How does UIPickerView handle 2+ dials spinning?

If I have a UIPickerView with three components (dials). How does the picker handle two dials spinning simultaneously? For example, the user might flick the first dial, which spins freely and immediately slowly click to a selection on the second dial. I'm doing the following in the picker. If one dial is spinning, I don't capture it...