Is/wasnt there a way to scan a code and to be able to test your app on your iPhone?
Scan a code as in a QR/barcode scanner using something built-in the AIR SDK? No there is no built in way. There's plenty of libraries out there for reading and generating them that you can search for.
Retrieving data ...