[Solved] iOS Multiple Random Image View

[ad_1] This works on my Xcode 4.6.2. Integrated the comment from @rmaddy. ViewController.h #import <UIKit/UIKit.h> @interface ViewController : UIViewController @property (weak, nonatomic) IBOutlet UIImageView *imageView1; @property (weak, nonatomic) IBOutlet UIImageView *imageView2; @end ViewController.m #import “ViewController.h” @interface ViewController () @end @implementation ViewController – (void)viewDidLoad { [super viewDidLoad]; _imageView1.image = [UIImage imageNamed:[NSString stringWithFormat:@”%d.png”, arc4random_uniform(4) + 1]]; _imageView2.image … Read more

[Solved] Movie Player in Swift

[ad_1] in continuation to Dharmesh reply, please update moviePlayer.view.frame = CGRect(x: 0, y: 0, width: self.view.frame.size.width, height: self.view.frame.size.height) it will then be adjusted as per device screen size. Hope it helps! 1 [ad_2] solved Movie Player in Swift