Release Notes - iOS 2.x
2.3.21 (03/21/2024)
Changed
- Removed the support of
Bitcode
.
2.3.20 (03/27/2023)
Fixed
- Fixed a bug that might cause thread blocking on the simulator.
2.3.12 (03/16/2023)
Fixed
- Fixed a display bug when the display orientation is landscape.
2.3.11 (01/10/2023)
Fixed
- Fixed a bug that the scan region is not removed from
DCECameraView
when it is canceled.
2.3.10 (12/13/2022)
New
- Override method
setFocus
inCameraEnhancer
class for users to specify the subsequent focus mode after triggering a focus. EnumerationEnumFocusMode
is added to specify the focus mode. - Added a new method
setAutoZoomRange
inCameraEnhancer
for users to specify a range for the auto-zoom feature of the library. - Added a protocol
DCECameraStateListener
to receive a callback when the camera state changes. You can add the protocol via a new methodsetCameraStateListener
. - Added a new method
getVisibleRegionOfVideo
inDCECameraView
class
Fix
- Fixed a bug that might be caused by thread blocking when using an offline license.
Deprecated
- Deprecated method
pause
andresume
inCameraEnhancer
class.
2.3.5 (11/15/2022)
Fixed
- Fixed a bug that
torchButton
was not clickable when it appeared outsidescanRegion
.
2.3.4 (11/04/2022)
Fixed
- Fixed a scan region deviation bug.
- Fixed an overlay offset bug when
DCECamearView
is smaller than the screen size. - Fixed a bug that might cause high CPU occupancy when the camera is opened.
2.3.3 (09/22/2022)
Changed
- The
video buffer
will be cleared when camera is paused or closed.
Fixed
- Fixed a bug that
scanRegion
is not correctly set when device was rotated horizontally.
2.3.2 (08/02/2022)
New
- Added a property
cameraView
for users to bind aDCECameraView
object to theDynamsoftCameraEnhancer
object. - Added methods
selectCameraWithPosition
andgetCameraPosition
for users to switch between the front-facing camera and the back-facing camera. - Added enumeration
EnumCameraPosition
.
Changed
- Changed the rotation control of
DCECameraView
from manual handling to system handling.
2.3.1 (07/11/2022)
Fixed
- Added x86_64 architecture back to the framework which was missing in 2.3.0.
2.3.0 (06/28/2022)
Version Highlights
- The same camera enhancer instance can now be used by multiple products. (JS edition only)
- Added photo capturing features. You can now capture high-resolution images using the library. (Mobile editions only)
- Added device feedback features. You can now trigger vibrations or beep sounds of mobile devices. (Mobile editions only)
Changelog
- Added the following APIs for capturing photos:
DCEPhotoListener
: The protocol that includes methodphotoOutputCallback
which is triggered when a photo is captured. JPEG-encoded photo can be received via the methodphotoOutputCallback
.takePhoto
: Triggers photo capturing.
- Added a new class
DCEFeedback
. The following APIs are available in the class: - Added a new method
getMaxZoomFactor
which returns the maximum available zoom factor of the device.
2.1.4 (05/26/2022)
New
- Added support for ISO and exposure time settings.
Fixed
- Fixed the memory leaks caused by incorrectly destroying NSTimer instances.
- Fixed a bug where some delay might happen in initiating licenses when using along with Dynamsoft Barcode Reader Mobile Edition.
Deprecated
CameraEnhancer.setFrameRate
EnumResolution.EnumResolution_HIGH
EnumResolution.EnumResolution_MID
EnumResolution.EnumResolution_LOW
2.1.3 (03/02/2022)
Fixed
- Fixed a bug that might offset the position of highlight overlays on the decoded barcodes when used together with
DynamsoftBarcodeReader
.
2.1.1 (12/28/2021)
New
- Added a new feature
SMART_TORCH
. Users can enable this feature via the methodenableFeatures
by specifyingEnumSMART_TORCH
. WhenSMART_TORCH
is enabled, a torch button will be displayed automatically when the environment light level is low. Users can click on the torch button to turn on/off the torchlight. - Overwrite
DCECameraView
methodsetTorchButton
. Users can set the position, size and image of the torch button. The previoussetTorchButton
method is deprecated.
Fixed
- Fixed a bug that might affect the processing speed.
- Fixed a bug that
enableFeatures
might not have effects.
2.1.0 (12/16/2021)
Version Highlights
- Added class scan region configuration APIs and
RegionDefinition
for users to set the region of interest. The frames will be cropped based on the scan region to accelerate further frame processing.
Changelog
New
- Added method
setScanRegion
andgetScanRegion
toCameraEnhancer
class for users to set or get the region of interest. The scan region will determine how frames will be cropped. - Added class
iRegionDefinition
. The class will be used to define the parameters for methodsetScanRegion
. - Added property
scanRegionVisible
to control and check the visibility of the scan region. - Added method
setTorchButton
toDCECameraView
class for users to set the position of the torch button. PropertytorchButtonVisible
is added to set and check the visibility of the torch button. - Extended the JSON template of
updateAdvancedSettingsFromFile
andupdateAdvancedSettingsFromString
. Added fast mode configuration parameters to the template.
2.0.0 (10/19/2021)
Version Highlights
- Simplified the usage of camera-control APIs. The new APIs are easier to use and cover more scenarios.
- Simplified the usage of camera enhancer features. Users can enable all required features via the method
enableFeatures
by inputting the combined enumeration value. - Extended the features of
DCECameraView
. Users can add and personalize the overlays and viewfinder on the camera UI. - Extended the features of
DCEFrame
.DCEFrame
will store more frame information to cover more scenarios. In addition, the methodtoBitmap
is added to enable users to convertDCEFrame
to a visible image. - The camera UI will display a fuzzified image instead of the previously captured image when the camera UI is quit and resumed.
Changelog
Improved
- Updated the mechanism of the video buffer. The capability of real-time frame processing and transferring is improved.
Breaking Change(s)
- Added method
initLicense
to replaceinitLicenseFromDLS
. - Upgraded the
basic camera-control APIs
. - Upgraded the usage of
camera enhancer features
. - Renamed class
CameraView
toDCECameraView
. The features of the class are extended as well. - Renamed class
Frame
toDCEFrame
. The features of the class are extended as well.