Search code examples
iosswiftsocketscan

Socketscan softscan sample using Swift


Seemingly unavailable to SocketMobile's developer portal, does anyone have a minimal example of how to implement the softscan function (use the iPhone Camera) using Swift?

I've an iOS app that works great with the physical scanner, but I'd like to extend it to use the camera as a backup for a broken scanner etc.

[first ever post at StackOverflow, if I've got something wrong, please let me know and I'll attempt to correct it in future. Many thanks.]


Solution

  • Thanks Enrico. SocketMobile have updated their git repo and it now contains a Swift version of their 'Single Entry' app that supports SoftScan. Using this I was able to work out how to call their ObjC library to implement to function correctly.