[Add] AlibabacloudSysOM20231230 1.3.0
[CocoaPods.git] / Specs / d / 4 / 1 / CameraBackground / 1.6.4 / CameraBackground.podspec.json
blobd0d1184e6a5308222d00814b9d4f27578b9d2f12
2   "name": "CameraBackground",
3   "version": "1.6.4",
4   "summary": "Show camera layer as a background to any UIView.",
5   "description": "Features:\n\n* Both **front and back** camera supported.\n* **Flash** modes: auto, on, off.\n* Countdown **timer**.\n* Tap to **focus**.\n* Pinch to **zoom**.\n\nUsage:\n\n```swift\nview.addCameraBackground()\n// ...\nview.takeCameraSnapshot( {\n      // animate snapshot capture\n      self.view.alpha = 0\n      UIView.animateWithDuration(1) { self.view.alpha = 1 }\n  },\n  completion: { (capturedImage, error) -> () in\n      self.view.freeCameraSnapshot() // unfreeze image\n      // ... handle capturedImage and error\n  }\n)\n// ...\nview.removeCameraBackground()\n```",
6   "homepage": "https://github.com/yonat/CameraBackground",
7   "screenshots": [
8     "https://raw.githubusercontent.com/yonat/CameraBackground/master/screenshots/focus.png",
9     "https://raw.githubusercontent.com/yonat/CameraBackground/master/screenshots/countdown.png"
10   ],
11   "license": {
12     "type": "MIT",
13     "file": "LICENSE.txt"
14   },
15   "authors": {
16     "Yonat Sharon": "yonat@ootips.org"
17   },
18   "social_media_url": "http://twitter.com/yonatsharon",
19   "swift_versions": [
20     "4.2",
21     "5.0",
22     "5.0"
23   ],
24   "platforms": {
25     "ios": "9.0"
26   },
27   "requires_arc": true,
28   "source": {
29     "git": "https://github.com/yonat/CameraBackground.git",
30     "tag": "1.6.4"
31   },
32   "source_files": "Sources/*.swift",
33   "dependencies": {
34     "SweeterSwift": [
36     ],
37     "MultiToggleButton": [
39     ]
40   },
41   "swift_version": "5.0",
42   "subspecs": [
43     {
44       "name": "Resources",
45       "resource_bundles": {
46         "CameraBackground": "Sources/*.png"
47       }
48     }
49   ]