Launch Sketchfab iOS app from QR-Code to show AR model - ios

I'm trying to use the recently updated sketchfab app as an AR app for presentations https://itunes.apple.com/us/app/sketchfab/id1201268000?mt=8.
In order to make this happen, my idea is to create an qr-code that launches the iOS app and passes the model-id as parameter.
Since the AR-Kit implementation in the sketchfab is pretty new, I cannot find any documentation for this.
Does anybody know how to do this?
Thanks
Christian

okay, I found the solution. It's pretty straightforward:
If you generate a URL-QR-Code like:
sketchfab://models/344eed672c4d4b8b9f6364bbf4684ccd
It automatically opens sketchfab and the app automatically opens the model

Related

Present a DataMatrix in iOS

I want to present a DataMatrix from a given String in an iOS App (NOT a barcode), but can not found any working SDK, guide or even hint to a solution. The only thing I found was a way to READ it, but it looks like the AVFoundation can't be used to SHOW it.
Would be very thankful for every hint to this topic.
More infos about DataMatrices:
https://en.wikipedia.org/wiki/Data_Matrix

where to write the code that does force on an iPhone user to update iOS application in his iPhone?

I need how Can I force on an iPhone user to update iOS application in his iPhone?
after searching I get the answer of this issue the fallowing link:
Can I force an iPhone user to update iOS application
But I do not have any idea where to write this code and I want to display the message that says the new version is ready at the first time the application runs before launch page.
can any help me this issue.
please help me.
I added a viewController which behave as a splash screen. In this viewController I get current application version and sent to server for validation and show alert to user if his application is not updated. If user click on update then redirect user to appStore.
For reference image is attached.
I suggest you to use This library where you can use in both Objective C and Swift. And you can use it by using CocoaPods and manually.
And it supports
A three number versioning system (e.g., 1.0.0)
Also supports two-number versioning (e.g., 1.0)
And also supports four-number versioning (e.g., 1.0.0.0)
Check the link for more features.

iOS/Swift: Making the source code of an app visible?

Is it possible/do you know any possibility to visualize the source code of an app? Because I'm working on something and I have got an app that does exactly what I want mine to do, just in a completely different way. Basically, every app on the AppStore has to be written in Xcode, right? So how do I visualize the code?
Thanks in advance!
The developer needs to share the code with you if you want to get the full code.
You can't extract the code from the .ipa itself (which is essentially the app)
Moreover, not every iOS app is written in Xcode - you have other SDK to write Swift and Objective-C with and more apps that you can write cross platform app with that eventually produced the .ipa file.

Create shortcut to iOS app

I'd like to know if it's possible to create a simple watchOS app that basically has a button to do the exact same thing as another button on the main iOS app.
If so, how do I do this? Do you recommend any guide or blog post?
Yes, this is perfectly doable. I'd recommend this watchOS 2 tutorial. You're going to use the WatchConnectivity framework to communicate with the parent app. The specific method you'll use to send data to the parent app is sendMessage(_:replyHandler:errorHandler:).

How to create a HTML link to a build.phonegap app?

I have run into several problems with iOS development through phonegap recently, and unusually people around here have been unable to discuss these issues and even together we have (for the first time I have ever seen) not had a single comment or answer for these topics...
See https://stackoverflow.com/questions/14707936/make-a-page-that-redirects-back-to-ios-phonegap-app and iOS broswer data -> Cache & Cookie for Phonegap App / Session?...
However, I have found "solutions" to get around these, but its by no means answers to the issues in question which are still outstanding... just simply doing it a completely different way.
However, despite loosing web-view in phonegap, in an attempt to get around https://stackoverflow.com/questions/14707936/make-a-page-that-redirects-back-to-ios-phonegap-app I now have some issue that are outstanding...
I need to be able to navigate back to my App from the web-system !!!
However, I have no idea how. I have read info on creating URL Schema, but I am not sure if this is even possible through build.phonegap at all... and it seems faily complicated. Does anybody know of a way for iOS safari to do one of two things
Either
Open the app that is running in the background
or
close the current browser tab and navigate back to the app in the background.
The closing tab idea would be good, but not essential
Look forward to everyone thoughts and opinions on this one...
Henry
You can create an url scheme for any application you make yourself.
See tutorial here
It's not as terribly complicated as one would think, and the required objective-c code is minimal.
Once you have done this, you can use your own url scheme to launch your phonegap application from safari with a hyperlink.
This would not close the tab (you could do this with javascript if you wanted to)
but does put safari in the background, and opens your phonegap app.
(whether it is already running in the background or not)
It is even possible to pass data to the app using your url scheme.
It is not currently possible using PhoneGap Build in 2.2 and previous. Potentially a feature top be released in newer versions of Cordova/Phonegap

Resources