0

I use AVFoundation to read the QR Code, after reading I get a string, the pattern "WIFI:S:name-of-network;T:WPA;P:password;;" How do I decode, with the ability to connect, and output separately password, name in label.text

I am new to swift, I would be grateful if you could describe the solution to the problem in detail. Thank you.

miks
  • 13
  • 3
  • https://sarunw.com/posts/how-to-split-string-into-array-of-substrings-in-swift/ – Quang Hà Nov 21 '22 at 14:04
  • See https://stackoverflow.com/questions/36303123/how-to-programmatically-connect-to-a-wifi-network-given-the-ssid-and-password – Larme Nov 21 '22 at 14:23

0 Answers0