document:didExecuteCommand: delegate method of
KGPagedDocControl. For the module to work correctly, there are three items that must be named the same.
- The name of the category you wish to use.
- The name of a method in that category that receives an NSDictionary of the optional query parameters sent in the URL.
- The host of the URL in the content that the user will tap to trigger the bridge.
For example, the category
-(void)addToCalendar:(NSDictionary *)parameters andPageControl:(KGPagedDocControl *)pageControl which is triggered by a URL in the form
This module is created for use in projects that manage memory using ARC. To use in a non-ARC project you may need to change references to
- A correctly formed URL to trigger the
The URL will be composed of a custom scheme, a host whose name must match the name of the category you're intending to handle the bridge. You can optionally append query elements to provide parameters. An example url for the cameraCapture category is shown below:
The scheme of