Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to open my ios Application by scanning QR Code from ios market app?

Tags:

xcode

ios

qr-code

My task is want to open my application when the QR code is start scanning on ios device, like android apps, in android apps if qr scanning is detected, after the result it is opening some of the application.

like image 784
Anand3777 Avatar asked Jul 30 '14 08:07

Anand3777


People also ask

Can you open an app with a QR code?

Unlike free bulk QR code generators or platforms designed for application developers, there is nothing to install and no development or SDK needed for app deep linking. A single QR code will open the Android or iOS app depending on what type of device does the scanning.

How do you scan QR codes on the app market?

If you're running Android 8 or later, you can scan a QR code by opening the camera app, pointing your phone at the QR code, and tapping the pop-up banner. If you don't see the pop-up banner, you can use the Google Lens app to scan the QR code instead. If playback doesn't begin shortly, try restarting your device.

How do I scan a QR code from an image stored on iOS?

Tap on Turn on the camera to use Lens option. Look for the Photos icon on the upper right part of the screen. Your Photo Library will appear. Tap the All Photos icon to select the photo that contains a QR Code you want to scan and tap on it.


1 Answers

Before doing this you should Custom URL Scheme register for your app

Registering a Custom URL Scheme

After these steps you need to make QR code for your app and store in local DB of that app you're using. When scan QR code then get your app custom url and using this url you can open your app easily. Try this may be help full

after get Your custom url of your app try this for open application..

UIApplication *ourApplication = [UIApplication sharedApplication];
NSString *ourPath = @"your app Custom URL"; //For Example Like this @"com.myCompany.myapp"
NSURL *ourURL = [NSURL URLWithString:ourPath];
[ourApplication openURL:ourURL];
like image 173
Jogendra.Com Avatar answered Oct 21 '22 03:10

Jogendra.Com