Commit efd757444a5c75c28ac7b83b39e0c721e7312ce9
1 parent
2cdf378c
提交
Showing
8 changed files
with
157 additions
and
5 deletions
CNLiveAVCamera.podspec
| @@ -22,13 +22,13 @@ TODO: Add long description of the pod here. | @@ -22,13 +22,13 @@ TODO: Add long description of the pod here. | ||
| 22 | s.ios.deployment_target = '9.0' | 22 | s.ios.deployment_target = '9.0' |
| 23 | s.source_files = 'CNLiveAVCamera/Classes/XFAVCamera/*.{h,m}' | 23 | s.source_files = 'CNLiveAVCamera/Classes/XFAVCamera/*.{h,m}' |
| 24 | 24 | ||
| 25 | -# s.resource_bundles = { | ||
| 26 | -# 'CNLiveAVCamera' => ['CNLiveAVCamera/Assets/XFAVCamera/*'] | ||
| 27 | -# } | ||
| 28 | - s.resources = 'CNLiveAVCamera/Assets/XFAVCamera/XFAVCamera.bundle' | 25 | + s.resource_bundles = { |
| 26 | + 'CNLiveAVCamera' => ['CNLiveAVCamera/Assets/Images.xcassets'] | ||
| 27 | + } | ||
| 28 | + #s.resources = 'CNLiveAVCamera/Assets/XFAVCamera/XFAVCamera.bundle' | ||
| 29 | 29 | ||
| 30 | 30 | ||
| 31 | - s.public_header_files = 'CNLiveAVCamera/Classes/XFAVCamera/*.h' | 31 | + #s.public_header_files = 'CNLiveAVCamera/Classes/XFAVCamera/*.h' |
| 32 | s.frameworks = 'UIKit', 'Photos' | 32 | s.frameworks = 'UIKit', 'Photos' |
| 33 | s.dependency 'Masonry', '~> 1.0.2' | 33 | s.dependency 'Masonry', '~> 1.0.2' |
| 34 | 34 |
CNLiveAVCamera/Assets/Images.xcassets/AppIcon.appiconset/Contents.json
0 → 100644
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "iphone", | ||
| 5 | + "size" : "20x20", | ||
| 6 | + "scale" : "2x" | ||
| 7 | + }, | ||
| 8 | + { | ||
| 9 | + "idiom" : "iphone", | ||
| 10 | + "size" : "20x20", | ||
| 11 | + "scale" : "3x" | ||
| 12 | + }, | ||
| 13 | + { | ||
| 14 | + "idiom" : "iphone", | ||
| 15 | + "size" : "29x29", | ||
| 16 | + "scale" : "2x" | ||
| 17 | + }, | ||
| 18 | + { | ||
| 19 | + "idiom" : "iphone", | ||
| 20 | + "size" : "29x29", | ||
| 21 | + "scale" : "3x" | ||
| 22 | + }, | ||
| 23 | + { | ||
| 24 | + "idiom" : "iphone", | ||
| 25 | + "size" : "40x40", | ||
| 26 | + "scale" : "2x" | ||
| 27 | + }, | ||
| 28 | + { | ||
| 29 | + "idiom" : "iphone", | ||
| 30 | + "size" : "40x40", | ||
| 31 | + "scale" : "3x" | ||
| 32 | + }, | ||
| 33 | + { | ||
| 34 | + "idiom" : "iphone", | ||
| 35 | + "size" : "60x60", | ||
| 36 | + "scale" : "2x" | ||
| 37 | + }, | ||
| 38 | + { | ||
| 39 | + "idiom" : "iphone", | ||
| 40 | + "size" : "60x60", | ||
| 41 | + "scale" : "3x" | ||
| 42 | + }, | ||
| 43 | + { | ||
| 44 | + "idiom" : "ipad", | ||
| 45 | + "size" : "20x20", | ||
| 46 | + "scale" : "1x" | ||
| 47 | + }, | ||
| 48 | + { | ||
| 49 | + "idiom" : "ipad", | ||
| 50 | + "size" : "20x20", | ||
| 51 | + "scale" : "2x" | ||
| 52 | + }, | ||
| 53 | + { | ||
| 54 | + "idiom" : "ipad", | ||
| 55 | + "size" : "29x29", | ||
| 56 | + "scale" : "1x" | ||
| 57 | + }, | ||
| 58 | + { | ||
| 59 | + "idiom" : "ipad", | ||
| 60 | + "size" : "29x29", | ||
| 61 | + "scale" : "2x" | ||
| 62 | + }, | ||
| 63 | + { | ||
| 64 | + "idiom" : "ipad", | ||
| 65 | + "size" : "40x40", | ||
| 66 | + "scale" : "1x" | ||
| 67 | + }, | ||
| 68 | + { | ||
| 69 | + "idiom" : "ipad", | ||
| 70 | + "size" : "40x40", | ||
| 71 | + "scale" : "2x" | ||
| 72 | + }, | ||
| 73 | + { | ||
| 74 | + "idiom" : "ipad", | ||
| 75 | + "size" : "76x76", | ||
| 76 | + "scale" : "1x" | ||
| 77 | + }, | ||
| 78 | + { | ||
| 79 | + "idiom" : "ipad", | ||
| 80 | + "size" : "76x76", | ||
| 81 | + "scale" : "2x" | ||
| 82 | + }, | ||
| 83 | + { | ||
| 84 | + "idiom" : "ipad", | ||
| 85 | + "size" : "83.5x83.5", | ||
| 86 | + "scale" : "2x" | ||
| 87 | + }, | ||
| 88 | + { | ||
| 89 | + "idiom" : "ios-marketing", | ||
| 90 | + "size" : "1024x1024", | ||
| 91 | + "scale" : "1x" | ||
| 92 | + } | ||
| 93 | + ], | ||
| 94 | + "info" : { | ||
| 95 | + "version" : 1, | ||
| 96 | + "author" : "xcode" | ||
| 97 | + } | ||
| 98 | +} |
CNLiveAVCamera/Assets/Images.xcassets/Contents.json
0 → 100644
CNLiveAVCamera/Assets/Images.xcassets/屏幕快照 2018-12-10 上午10.42.10.imageset/Contents.json
0 → 100644
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "universal", | ||
| 5 | + "filename" : "屏幕快照 2018-12-10 上午10.42.10.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 | +} | ||
| 0 | \ No newline at end of file | 22 | \ No newline at end of file |
CNLiveAVCamera/Assets/Images.xcassets/屏幕快照 2018-12-10 上午10.42.10.imageset/屏幕快照 2018-12-10 上午10.42.10.png
0 → 100644
116 KB
Example/CNLiveAVCamera/Images.xcassets/Contents.json
0 → 100644
Example/CNLiveAVCamera/Images.xcassets/屏幕快照 2018-12-10 上午10.42.10.imageset/Contents.json
0 → 100644
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "universal", | ||
| 5 | + "filename" : "屏幕快照 2018-12-10 上午10.42.10.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 | +} | ||
| 0 | \ No newline at end of file | 22 | \ No newline at end of file |
Example/CNLiveAVCamera/Images.xcassets/屏幕快照 2018-12-10 上午10.42.10.imageset/屏幕快照 2018-12-10 上午10.42.10.png
0 → 100644
116 KB