File tree Expand file tree Collapse file tree 4 files changed +38
-0
lines changed
bk2ch15p659SimplestAVKit/SimplestAVKit Expand file tree Collapse file tree 4 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "info" : {
3+ "version" : 1 ,
4+ "author" : " xcode"
5+ }
6+ }
Original file line number Diff line number Diff line change 1+ {
2+ "images" : [
3+ {
4+ "idiom" : " universal" ,
5+ "filename" : " smileyiPhone.png" ,
6+ "scale" : " 1x"
7+ },
8+ {
9+ "idiom" : " universal" ,
10+ "scale" : " 2x"
11+ },
12+ {
13+ "idiom" : " universal" ,
14+ "scale" : " 3x"
15+ }
16+ ],
17+ "info" : {
18+ "version" : 1 ,
19+ "author" : " xcode"
20+ }
21+ }
Original file line number Diff line number Diff line change @@ -27,6 +27,17 @@ class ViewController: UIViewController {
2727 _ in
2828 // av.view.backgroundColor = UIColor.greenColor()
2929 } )
30+ // let iv = UIImageView(image:UIImage(named:"smiley")!)
31+ // av.contentOverlayView!.addSubview(iv)
32+ // let v = iv.superview!
33+ // iv.translatesAutoresizingMaskIntoConstraints = false
34+ // NSLayoutConstraint.activateConstraints([
35+ // iv.bottomAnchor.constraintEqualToAnchor(v.bottomAnchor),
36+ // iv.topAnchor.constraintEqualToAnchor(v.topAnchor),
37+ // iv.leadingAnchor.constraintEqualToAnchor(v.leadingAnchor),
38+ // iv.trailingAnchor.constraintEqualToAnchor(v.trailingAnchor),
39+ // ])
40+
3041 av. delegate = self
3142 av. allowsPictureInPicturePlayback = true
3243 case 2 :
You can’t perform that action at this time.
0 commit comments