Top "Ios4" questions

The 2010-2011 version of the iPhone/iPad/iPod Touch/Apple TV operating system family, made by Apple.

AVCaptureVideoPreviewLayer doesn't fill up whole iPhone 4S Screen

AVCaptureVideoPreviewLayer *avLayer = [AVCaptureVideoPreviewLayer layerWithSession:session]; avLayer.frame = self.view.frame; [self.view.layer addSublayer:avLayer]; I use AVCaptureVideoPreviewLayer to display …

iphone ios4 avfoundation
How to share keychain data between iOS applications

I am describing a problem for which it took me quite some time to learn the answer. The "GenericKeychain" example …

iphone ipad ios4 shared keychain
AVPlayer and MPMoviePlayerController differences

I am developing an iPhone application that needs to play videos. So far, I learned that there are at least …

ios ios4 mpmovieplayercontroller avfoundation avplayer
How can I create and display a UISlider programmatically in iOS?

I found the code below in the Apple documentation and added it to my viewDidLoad method but the slider doesn't …

iphone ios4
AVURLAsset refuses to load video

I'm trying to load a video file into my iPad app as an AVURLAsset, using the asynchronous-loading stuff to wait …

ipad video ios avfoundation ios4
how to hide status bar in Iphone application

how to hide status bar . in sdk 3.1 or lower version it is possible by adding this code in - (void)…

ios4 statusbar
Programmatically add UINavigationController in UIViewController

I currently have a view set up as the following: @interface BlogViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> { UITableView *mainTableView; } @property (…

ios uitableview ios4 uinavigationcontroller pushviewcontroller
Detecting the iPhone's Ring / Silent / Mute switch using AVAudioPlayer not working?

I've tried using these methods in an attempt to detect that the Ring/Silent switch is active or not: How …

iphone ios4 iphone-sdk-3.0 avaudioplayer avaudiosession
How to use reachability class to detect valid internet connection?

I'm new to iOS development and am struggling to get the reachability.h class to work. Here is my code …

objective-c ios ios4 reachability
Stretching an UIImage while preserving the corners

I'm trying to stretch a navigation arrow image while preserving the edges so that the middle stretches and the ends …

iphone ios4 ios5 uiimage drawing