CPInterfaceController

public extension CPInterfaceController
  • Allows to safely pop existing CPTemplate.

    In case if there is only one CPTemplate left in the stack of templates, popping operation will not be performed.

    Declaration

    Swift

    func safePopTemplate(animated: Bool)

    Parameters

    animated

    Boolean flag which determines whether CPTemplate popping will be animated or not.