setType(_:)
Updates the kind of content that a context represents.
Declaration
func setType(_ type: CLSContextType)Parameters
- type:
A new value for the kind of content that the context represents.
Discussion
Use this method to change the type property of a context that you’ve already created.