GCCountryPickerViewController

public final class GCCountryPickerViewController: UITableViewController

The GCCountryPickerViewController class defines a view controller containing a country picker interface.

By default, the country picker interface displays the 249 countries that have been officially assigned ISO 3166-1 alpha-2 country codes as part of the ISO 3166 standard. You can customize which countries the country picker interface displays by setting the data source property and adopting the GCCountryPickerDataSource protocol.

  • Initializes and returns a newly allocated country picker view controller object.

    Declaration

    Swift

    public init(displayMode: GCCountryPickerDisplayMode)

    Parameters

    displayMode

    The display mode for the country picker.

    Return Value

    An initialized country picker view controller object.