init(value:type:label:)
Initializes and returns a person handle with the specified data.
Declaration
init(value: String?, type: INPersonHandleType, label: INPersonHandleLabel?)Parameters
- value:
The data to associate with the handle. Specify the data as a user-readable string.
- type:
A constant indicating the type of information in the value parameter. For a list of possible values, see Inpersonhandletype.
- label:
The label to apply to the information. Use this information to help differentiate labels of similar types but with different meanings. For example, use this parameter to specify whether a phone number is the user’s home or work phone.
Return Value
An initialized person handle object.