Instance Method


Triggers selection feedback.


func selectionChanged()


This method tells the generator that the user has changed a selection. In response, the generator may play the appropriate haptics. Do not use this feedback when the user makes or confirms a selection; use it only when the selection changes.

For information on setting up a feedback generator, see the UIFeedbackGenerator class.

See Also

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software