Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there alternative for CIFIlter to generate QR code in watch os 6

I am developing a watch independant app. I want to generate QRcode on watchkit, but since coreImage doesnt work with watchkit, is there any other way we can do this?

Thanks.

like image 374
Anup Deshpande Avatar asked Sep 01 '25 10:09

Anup Deshpande


2 Answers

I use libraries, which supported watch os.

For example EFQRCode

like image 183
Eugene Lezov Avatar answered Sep 03 '25 02:09

Eugene Lezov


I've a QR Code appearing in a Watch App.

I generated it as a UIImage -- encoded it as a Base64 String and send it across to the Watch as Data using WatchConnectivity. This does use CIFiter but only the Phone side to generate a UIImage.

On the Watch I decoded the UIImage from the Data.

like image 28
Sean Dev Avatar answered Sep 03 '25 01:09

Sean Dev