Skip to content

Latest commit

 

History

History

TemplatePicker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

TemplatePickerViewController

The TemplatePickerViewController is a UIViewController subclass that allows the user to choose from a list of AGSFeatureTemplates. This is a common use case for creating a new feature.

Usage

// Instantiate the TemplatePickerViewController
let templatePicker = TemplatePickerViewController(map: map)

// Assign the delegate
templatePicker.delegate = self

// Present the template picker
navigationController?.pushViewController(templatePicker, animated: true)

To see it in action, try out the Examples and refer to TemplatePickerExample.swift in the project.