Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

212rikanmofo

macrumors 68000
Original poster
Jan 31, 2003
1,897
724
Does anyone know how I can generate a QR code on an iPhone? Let's say I have a series of numbers and I would like to generate a QR code for thsoe numbers. How would I do sio? Is there a shortcut that will allow me to do this fast and quickly?
 

212rikanmofo

macrumors 68000
Original poster
Jan 31, 2003
1,897
724
Well, what I actually want to do is be able to generate a QR code from a picture. Since iOS is able to detect text in images. It would be great if I can just highlight the text or section I want, and then be able to select an option to creare a QR Code from it. Is this possible?
 

iStorm

macrumors 68020
Sep 18, 2012
2,034
2,441
You can do this with Shortcuts if you're familiar with creating those. There's a 'Generate QR Code' action you can use. Have the shortcut accept text as input, pass the input into the 'Generate QR Code' action, and do whatever else you want it to do (save it, send it, etc). Then set the shortcut to show in the Share Sheet. Now you can select the text in the image (or anywhere else) -> Share... -> select your shortcut to create the QR code.

To be even fancier... You could use the 'Extract Text from Image' action. Pass the image into the shortcut, extract the text, parse it out if needed, and run it through the 'Generate QR Code' action.
 

212rikanmofo

macrumors 68000
Original poster
Jan 31, 2003
1,897
724
Okay for example, I have taken a picture of a package label, and on it, are many areas of text. I just want a specific section to be used or passed on to the Generate QR shortcut. Do you know exactly how I would create that shortcut?

I just want the shortcut to be able to generate a qr code from a particular section of a label and generate a code and display the picture on screen. That's it. Nothing else.
 

iStorm

macrumors 68020
Sep 18, 2012
2,034
2,441
Shortcut would look like this:
1726774070618.png


Or use this link to add the one I just created:

After creating/adding it, select the text in the image > Share... > Generate QR Code from Text.
 
Last edited:
  • Like
Reactions: 212rikanmofo
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.