nfc.show()


Type Function

Return value none

Platform iOS only

See also nfc.*


Overview

Shows iOS native NFC reading dialog.

Syntax

nfc.show(params)

params required

Table. Contains parameters for the call — see the next section for details.

Parameter Reference

The params table includes parameters for the call.

message optional

String. A message that appears inside the dialog window with instructions for a user, e.g. 'Place a tag near your device.'

closeAfterFirstRead optional

Boolean. If true, the dialog window will close after the first discovered tag. Otherwise you will have to close the dialog manually or the user will close it.