Declared in INKActivityViewController.h

Overview

A delegate object responsible for registering defaults.

Tasks

Instance Methods

addDefault:

- (void)addDefault:(INKActivity *)activity
Discussion

Register the given activity as a default application.

Warning: It is assumed the delegate (typically an INKHandler) is responsible for maintaining the stateful knowledge of which handler this is for.

Parameters

activity

An INKActivity object representing an application

Declared In

INKActivityViewController.h

canSetDefault

- (BOOL)canSetDefault
Discussion

If NO, the toggle view will be hidden.

This is used when the user’s preferred app for a handler cannot perform the task they’re trying to do; we don’t want them to try to register a secondary default.

Declared In

INKActivityViewController.h