Contents

disconnect()

Disconnects the virtual controller from the device and removes it from the screen.

Declaration

func disconnect()

Discussion

After you invoke this method, the framework stops calling input handlers that you set for the elements.

See Also

Connecting and displaying virtual controllers