Has anyone idea what does it mean:
objc://
In this javascript sample code line:
var invokeString = "objc://planner/openPDF?" + encodeURIComponent(fileName);
Has anyone idea what does it mean: objc:// In this javascript sample code line:
Share
In this case
objc://is a custom scheme, as http. Amongst other things it can be used to open a application that’s registered for this protocol on Mac/iOS (I’m not sure if this is supported on windows or not).Let’s say my ios-app “Planner” is registered to handle objc:// then when accessing this URL in the browser the app will open “Planner” app on my iPhone and pass the URL to the app in the same way http://www.google.com opens you Safari (Or you standard browser) app and passes google.com.
Another example is Apple using
itmss://for links to thier iTunes Music Store. Clicking one of thoses links will open the Music Store in iTines.Here’s an article about registering schemes on iOS. And wiki about URI schemes
UPDATE
As Sheikh Heera commented, it can also be used as a way to communicate between an UIWebView (running an HTML/JS page) in an objective-c application (iOS/Mac) and the native application.