Commit graph

82 commits

Author SHA1 Message Date
a81edae04f Forget the flash/torch nonsense 2023-11-21 16:57:43 -08:00
5b50330d72 Support the dual-wide camera on recent non-Pro phones 2023-10-26 15:13:38 -07:00
69f86a9c0a Use dual camera when triple isn't available, don't fall back directly to wide 2023-10-26 15:05:45 -07:00
5e659e1435 Default to wide focal length for triple cam 2023-10-26 15:05:30 -07:00
42ce13fa38 Change min deployment target to iOS 17 2023-10-26 14:47:21 -07:00
f87433aaf8 Change min deployment target to iOS 16 2023-10-26 14:09:41 -07:00
54a288b661 Address warnings, rip out photos, and make the button responsive 2023-10-26 14:04:58 -07:00
Jon Andersen
40094dfec2 [Fix] Ensure layers are not rotated unless autorate is enabled 2019-04-01 00:45:10 -04:00
Luís Silva
1bbeb0da5e Adds support to set AVVideoCodecType, fixes uninitialized property 2019-02-14 21:36:42 +00:00
gazz
284b00cbac custom flashEnabled setter and flashMode enum method 2018-12-23 12:37:52 +01:00
gazz
233a358291 remove extra comment 2018-12-12 10:23:36 +01:00
gazz
addff327d6 Merge branch 'autoflash' into swifty_master
# Conflicts:
#	DemoSwiftyCam/DemoSwiftyCam.xcodeproj/project.pbxproj
#	DemoSwiftyCam/DemoSwiftyCam/ViewController.swift
2018-12-06 11:30:51 +01:00
Deniz Adalar
c55732d9e8 Expose outputFolder as a variable 2018-12-01 18:22:22 +00:00
Deniz Adalar
582efb4b5a Fix a bug where didFinishRecordingVideo delegate method wasn't being called if stopVideoRecording gets called before the actual recording starts 2018-12-01 18:21:28 +00:00
Peter Marathas
a672cd3da4 sync w/ upstream 2018-11-23 13:45:25 -05:00
Jon Andersen
88779afb79
Merge pull request #190 from Awalz/Swift4.2
Swift 4.2 to master
2018-11-21 10:29:16 -05:00
Jon Andersen
5c5931e869 Migrate swift from 4.0 to 4.2 2018-11-18 20:40:56 -05:00
Michael Prummer
c88e8f3d03 Fixed optional checking for audio and video device (e.g. prevent crashing on the simulator) 2018-05-03 10:43:39 +02:00
gazz
8fd983de19 Merge branch 'master' into feature/swift4-auto-flash
# Conflicts:
#	DemoSwiftyCam/DemoSwiftyCam.xcodeproj/project.pbxproj
#	DemoSwiftyCam/DemoSwiftyCam/ViewController.swift
#	Source/SwiftyCamViewController.swift
2018-04-12 12:40:41 +02:00
Andrea Maschio
52d8b1151c support for auto mode in flash 2018-04-11 19:43:14 +02:00
Khaled AlSaadi
b0d6fd2ca4
Update SwiftyCamViewController.swift
adding previewLayer.center = view.center will enable full screen camera on iphone x
2018-04-09 21:38:26 +03:00
Vincent Castro
afd121afa2 Fix for switching camera from front to back and back to front with addition for iOS 10 2017-10-28 19:56:51 -08:00
Jon Andersen
995071a574 Format code 2017-09-07 17:23:26 -04:00
Jon Andersen
a95a04a475 Use core motion to calculate orientation 2017-09-07 17:21:15 -04:00
Jon Andersen
0c4b65f8aa Remove protocol for orientation mode 2017-09-07 17:10:01 -04:00
Jon Andersen
a9746bf861 Ensure preview layer is accessed on main thread 2017-09-07 17:06:21 -04:00
Jon Andersen
04faa034e3 Move orientation logic to separate class 2017-09-07 17:00:18 -04:00
Andrew Walz
c98cf8256d Fixed issue with audio going over bluetooth 2017-09-06 13:43:57 -06:00
Andrew Walz
6b8d19620c Fixed issue with Bluetooth audio being forced onto device 2017-09-06 13:24:22 -06:00
Andrew Walz
d837d4d71e Added optional delegate methods for running session and added enabled property to SwiftyCamButton 2017-09-06 12:33:59 -06:00
Andrew Walz
ad38933dca Added delegate to prompt to app settings 2017-08-30 21:41:03 -06:00
Andrew Walz
85d9bc917c Added delegate for failed configuration 2017-08-30 21:17:54 -06:00
Andrew Walz
2f4784ae39 Added check for start recording video 2017-08-30 20:59:38 -06:00
Andrew Walz
a7474d5bcc Hopefully fixing camera issue 2017-08-30 20:56:34 -06:00
Andrew Walz
a3a8c6e3c1 Continued work of phone call interruptions 2017-08-25 15:53:16 -06:00
Andrew Walz
a98f190828 Added new delegate function 2017-08-25 15:36:27 -06:00
Andrew Walz
fa6e301806 Updating project 2017-08-25 14:49:38 -06:00
Peter Marathas
f041dd7af0 Fixed a bug where moving your finger while recording a video would crash the app 2017-07-07 12:25:02 -04:00
Jack Chen
6b41e540dd Fixed Video Crashing Issue 2017-07-07 07:52:03 -04:00
Andrew Walz
9b8e7fd951 Finished Changelog 2017-05-29 22:05:43 -06:00
Andrew Walz
8af20d6a0d Documentation 2017-05-29 21:36:02 -06:00
Andrew Walz
b2d4913d98 Added public pinch and pan gestures 2017-05-29 21:33:31 -06:00
Andrew Walz
5fcc21edf9 Added support for no audio video recording 2017-05-29 21:21:39 -06:00
Andrew Walz
65c26e35a9 Added documentation{ 2017-05-29 21:15:55 -06:00
Andrew Walz
62eef1dce0 Added support for video gravity 2017-05-29 21:11:01 -06:00
Andrew Walz
151bed4623 Added support for device auto rotation 2017-05-29 20:55:59 -06:00
Andrew Walz
fa9e75fe46 Added support for autorotate 2017-05-29 20:53:26 -06:00
Andrew Walz
b90a09d590 Commit after merge 2017-05-29 20:48:06 -06:00
ryandailey100
814a659d93 Fixed retain cycle bug with delegates
- Added weak reference to delegates
2017-05-25 13:43:46 -04:00
Andrew Walz
f760434cf8 Fixed potential bounds issue for PreviewLayer 2017-04-26 17:38:06 -06:00