Commit Graph

73 Commits

Author SHA1 Message Date
Ricardo Torrão 22f3e5320e more Swift 3.0 changes 2016-09-16 15:05:26 +01:00
dimohamdy 0267cc2664 support swift 3 2016-08-19 04:04:13 +03:00
Ricardo Torrão c0c55be070 checks if an output can be added to the session (issue #49) 2016-07-06 12:58:28 +01:00
Ricardo Torrão b23f2ccbc4 fixes completition typos and suggests renamed functions 2016-07-06 11:55:53 +01:00
Ricardo Torrão dd34c6468e Merge pull request #47 from SongJiaqiang/jq.fixbug
Use a most effective way to retrieve real interface orientation.
2016-07-06 11:05:43 +01:00
Joel Reis 4639a1b661 fix zoom in StillImage Mode 2016-05-12 17:02:55 +01:00
Jiaqiang e598b71173 Use a most effective way to retrieve real interface orientation.
UIDevice.currentDevice().orientation returns the orientation of device.
UIApplication.sharedApplication().statusBarOrientation returns the
orientation of UI interface.
For example.
1. check out Portrait only in info.plist.
2. Setup shouldRespondToOrientationChanges=false.
3. Launch app with LandscapeLeft.
Intent: orientation is .Portrait
Actually: orientation is .LandscapeLeft
2016-04-19 17:59:55 +08:00
Daniel Pereira 68e289a755 minor changes to swift 2.2 2016-03-30 15:28:36 +01:00
Daniel Pereira c875a0c03d refactor to more idiomatic swift 2016-03-30 15:26:03 +01:00
Daniel Pereira cf0e3759b4 changed weak self reference to unowned on cameraPictureWithCompletion and cameraPictureDataWithCompletion 2016-03-30 14:20:08 +01:00
jiaqiang c0a95613f1 Add a capture picture callback to pass on image data
Sometimes, user want to store the picture by the other ways, such as a
new album, sand disk and so on. Or cutting, compounding, adding filter.
2016-03-28 23:14:05 +08:00
Ricardo Torrão ff11c03832 Minor fixes and improvements 2016-02-17 10:15:49 +00:00
Ricardo Torrão e55c892898 Zoom improvements 2016-02-15 12:16:12 +00:00
Tom 2500e1b231 Fixed spelling of embeddingview. Also added zoom to the screen. 2016-01-28 18:11:30 +00:00
Natalia Terlecka 745a1df62f No sound in video more than 10 seconds fixed. 2016-01-08 11:55:30 +01:00
Natalia Terlecka 8a818c1b96 NewCameraOutputMode not passed during init bug fixed. 2016-01-08 11:11:06 +01:00
Natalia Terlecka 050f42bbd9 cameraIsReady property and addPreviewLayerToView competition block. 2015-12-24 09:57:14 +01:00
Natalia Terlecka ddffdac96e Start and stop following device orientation notification resumed. 2015-12-11 11:37:45 +00:00
Simon Leonhardt 48c92640c5 fix typo 2015-12-07 23:45:36 +00:00
Simon Leonhardt f0340013cc allow disabling of responding to device orientation changes 2015-12-07 23:44:41 +00:00
Natalia Terlecka bb3c734e1a Shared instance removed. 2015-11-18 10:06:18 +00:00
Natalia Terlecka 9d16f88bc8 _cameraOutputMode removed. 2015-11-18 09:31:37 +00:00
Natalia Terlecka 2528209921 _cameraOutputQuality removed. 2015-11-18 09:20:33 +00:00
Natalia Terlecka ddd1d78d3e _flashMode property removed. 2015-11-18 09:17:19 +00:00
Natalia Terlecka 783e47033d _cameraDevice device private property removed. 2015-11-18 09:13:21 +00:00
Natalia Terlecka 5c85fdf276 Unnecessary self's removed. 2015-11-18 08:39:19 +00:00
Natalia Terlecka 8427b18ef5 Code formatting updated. Lazy front, back and mic initialization. 2015-11-18 08:28:25 +00:00
Natalia Terlecka 0c0d7a0e0d recordedDuration and recordedFileSize 2015-11-18 08:04:13 +00:00
Jason Lagaac db9c936300 Fixed iOS 9.0.1 bug 2015-09-30 15:58:36 +10:00
Natalia Terlecka 151637eb32 Syntax updated. 2015-09-10 10:26:52 +01:00
Natalia Terlecka 68858dfb4b Syntax updated for Swift 2.0 2015-07-30 14:04:15 +01:00
miguelcampiao 0507f72f11 Adds example of usage of the UIAlertController to show error messages to the user. 2015-07-15 15:07:12 +01:00
利辺羅 1854061a8e Add proper Swift pragma marks 2015-06-29 12:44:32 -04:00
Lex Tang ad2cec3e80 Update for Swift 1.2. 2015-04-09 16:42:50 +08:00
Natalia Terlecka 19074490ac Has flash property. 2015-03-24 10:48:20 +00:00
Natalia Terlecka 89105cd142 Quality setting updated. Permissions fixes. 2015-03-23 15:03:19 +00:00
Natalia Terlecka 60e95a75fa Torch is set to correct state according to the current flash mode. 2015-03-23 09:31:28 +00:00
Natalia Terlecka 27194c99a9 Incrementing flash mode function. 2015-03-20 14:36:35 +00:00
Natalia Terlecka b6025c0faa Content localised. 2015-03-20 14:00:32 +00:00
Natalia Terlecka b0ebfcd94b New property to determine if you want the user to be asked about camera permissions automatically or manually. 2015-03-20 11:59:51 +00:00
Natalia Terlecka 0ea8751297 Error handling in capture competition blocks. Permissions fixes. 2015-03-20 10:46:01 +00:00
Natalia Terlecka 5def8cb543 Camera state returned when adding the preview layer. 2015-03-19 10:54:23 +00:00
Natalia Terlecka eea00d4499 CameraManager class mande public. 2015-03-06 17:47:02 +00:00
Natalia Terlecka 258984c6de Merge branch 'master' of https://github.com/imaginary-cloud/CameraManager 2015-02-24 17:17:54 +00:00
Natalia Terlecka 2c52caa865 Code refactoring. 2015-02-24 17:17:40 +00:00
David Yun 118d1a66d3 fixed wrong orientation when camera preview starts in landscape mode 2015-02-16 11:26:42 -08:00
nelanelanela 76c1e49db8 Bug fixes. 2015-01-13 16:57:06 +00:00
nelanelanela c6ce889f58 "When you stop and resume capture session, orientation detection doesn't work anymore" issue fixed. 2015-01-13 15:22:23 +00:00
nelanelanela ff3b954ed8 Crash when trying to capture a still image fixed. 2015-01-13 15:04:42 +00:00
David Ortinau ed8d3ff3f8 changing to output mode using mic was never initializing the mic due to evaluating the current mode instead of the new mode. Switched variables and now we can record audio. 2014-11-05 14:50:37 -06:00