iphone-os-3

Core Location - fallback, location caching and alternatives...

I have a few questions about Core Location. 1) Should the user refuse permission for my app to use core location, or core location is unavailable for some reason, is there a fallback? (Device Locale, for example?) 2)Can I cache a device's location for next time? Does Core Location do this itself? 3)I really need the sunset time in the...

How to split Code for iOS 3.0 and iOS 3.2 so I can use MPMoviePlayerViewController if OS 3.2++

I have a video that I play. To use full screen in iOS 3.2 I use the MPMoviePlayerViewController (seems to only work with that Class). But if I want to build for iOS 3.0 I obviously get several errors, because this class is not known in iOS 3.0. I also know how to get what I want with MPMoviePlayerController in iOS 3.0, but I can only hav...

Support iOS4 fast app switching, but also support iOS 3.1?

I am interested in adding basic multitasking support to my iPhone app (i.e., fast app switcing), but also continue to support users on older iPhones and iPods who cannot install iOS4. Is there a good way to do this? I have heard that using respondsToSelector:, I can determine whether new methods are supported (and thus whether the user h...

How to stop MPMoviePlayerController from showing "This movie could not be played."?

Hi everyone! I use MPMoviePlayerController to play some Video and Audio streams on iPhone. Sometimes some steams aren't available, so on iPhone OS 3.1 I get 4 "This movie could not be played" alerts, even if I catch all the notifications. Can anyone recommend me how to prevent this from happening? Thanks in advance! ...