iphone-sdk-3.0

MKMapView reload issue

I have a controller containing a MKMapView. I retain it when the user pops back to the previous controller and then push it back when the user want to return to the map. The problem occurs when an amination is in progress when the user leaves the controller. When I re push the controller the animation is on the screen frozen in the state...

Downloading images over the network is slow on the iPhone

I'm displaying a few images that are being downloaded over a network connection on a UITableView. Loading these images is extremely slow. Are there any performance tricks I can use? ...

How to compile pjsip for iphone 3.0

Hello, I have been trying to compile pjsip for iphone 3.0 but I have been unable to do so. I have tried following the guides on siphon and voiphone (open souce iphone projects that use pjsip). And apparently I am not the only one that is unable to compile pjsip for iphone 3.0 has anyone been able to do so succesfuly?. How can it be done...

How to Sort an NSMutableArray of Managed Objects through an object graph

I'm new to Apple's iPhone 3.0 SDK support of Core Data and I'm relatively new to iPhone development. My question is on slightly more "complex" sorting than is covered in the docs. I suspect that I am making an incorrect, fundamental assumption. How can I sort a pre-fetched collection of managed objects by a property contained several l...

Snow Leopard and XCode 3.1

My Original Leopard's XCode installation works fine (for iPhone 3.0 Development) with Snow Leopard without making any changes. What are the benefits I'll get if I install XCode 3.2 that comes with the SL DVD? Is it mandatory to upgrade? ...

Can I change the color of auto detected links on UITextView?

I had a UITextView that detects phone numbers ans links, but this overrides my fontColor and change it to blueColor. Is there a way to format the color of auto detected links, or should I try a manual version of this function? ...

iPhone - cannot test in-app purchases

Hi I have created a test account for sandbox testing of in-app purchases. I am following these steps to test Logged out of any existing accounts Open app and start getting list of products available Start process to download a product SKPayment *payment = [SKPayment paymentWithProductIdentifier:productId]; [[SKPaymentQueue defaultQ...

Is MFMailComposeViewController configurable at all?

Hi, I want to use MFMailComposeViewController in my app, like in Apple's MailComposer example application, but ... I don't want the user to be able to edit the "To:" field, in fact I don't want to display it at all. I don't want to display or have the user edit the CC or BCC fields, or even the Subject field. I don't want that "+" but...

What steps are necesary to automate a build of iPhone app?

I have prior experience in build a automatic build process for .NET & Delphi projects but now want to automate the building of a iPhone project... not only simply builds but also to the final deployment.. I want a generic step list, with the command line actions that need to be performed, so anyone could adapt it to their particular bui...

targeting iPhoneOS 2.2.1

I don't believe that I am using any 3.0 specific APIs, but somehow whenever I compile I get a warning "This project uses features only available in iPhone SDK 3.0 and later", and then a bunch of errors. If I change the Base SDK to 3.0, the warning & errors go away, but then of course I cannot target OS 2.2.1 I see that this is coming...

Playing audio files on the iPhone

I've made a simple app, where I have a list of songs. The user taps a list entry and the song begins playing. I've lifted the SoundEffect class from Apple's sample projects (e.g. Metronome, BubbleLevel). It seems to work fine with the following code: // declare in the .h file SoundEffect *audio; // setup - when controller loads audi...

UIViewControllers and UIWebView

Hi guys, I am a newbie at iPhone development and have a question, which may end up helping understand this concept in general. Basically, I have UIViewController which loads up a view with a bunch of stuff. Now I want when a user clicks on a button, to load up a different view, which happens to be a webView. Now, I want the weview to lo...

Presenting ViewController behind another one

I have image picker which collects data for another view controller (TTMessageController from three20) and I want this message composer to appear behind image picker, so when image piker slides out there will be already appeared message controller with pre-filled data. Code like this [self.navigationController presentModalViewControlle...

Designing for iPhone OS 2.0 and 3? Is that possible?

I have an application built for iPhone 2.0 but I would like to use StoreKIT to offer in-app purchase. If I recompile the code under 3.0, I can use StoreKIT but I will piss those who bought my app and do not upgraded to 3.0. Is that a way to create a code that can work on both worlds? If yes, what steps should I follow? thanks for an...

video file access for iphone using MPMediaPickerController

hi good afternoon to every one, am jeeva form india! how to retrieve thumb nail image of iphone video file! i have tried it using uiimagepicker. But i need exact code to identify the video file path ...

How hard Is to add Iphone OS 3.0 features to an openGL game.

I'm programming this game in openGL, mostly working inside an single EAGLView ( I'm not that familiar with Views and other Cocoa concepts, my work to this point only involved using opengl to draw my game and calculating the logic myself). I'm being told for adding a ton of features: Send mails to Your friends when You achieve certain ...

iPhone OS: Tap status bar to scroll to top doesn't work after remove/add back

Using this method to hide the status bar: [[UIApplication sharedApplication] setStatusBarHidden:YES animated:YES]; When setting "hidden" back to NO, the tap-to-scroll-to-top (in UIWebView, UITableView, whatever) doesn't work any more, and requires a restart of the app to get the functionality back. Is this a bug (I filed a rdar anyho...

UITableView is loading every cell

Hey everyone, UITableview should only load cells that is visible at first right? My tableview is loading every cell initially which slows it down a lot. I'm using around 1000 rows. Only want it to load a cell when it has to (like user scrolling down). Anyone have any ideas why it's doing this? ...

IBCocoaTouchPlugin problem, please help

I had upgraded my OS into Snow Leopard, and I'm using Xcode 3.2 with iPhone SDK 3.0 for Snow Leopard. I had cleaned up the existing Developer Tools, uninstall, and I deleted the /Developer directory, and I reinstall. But, the problem is, Interface Builder is showing 3 pop up alerts with this message: Assertion Message: Interface Build...

Why does Xcode warn me about title shadow offsets in xib files even though I'm targeting iPhone OS 3.0?

When I build my iPhone project, I get warnings from xcode about a few of my xibs saying: Specifying a title shadow offset in Interface Builder is not supported by the iPhone SDK for iPhone OS versions prior to 3.0. Thing is, I'm building for 3.0, and the base SDK is set to 3.0. I've done some poking around and can't find anyt...