# NFC Connect

Connects to the internal NFC Antenna of your mobile.

Action available for the following operating systems:

![](https://3821468174-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTlA1suFa5N48x_83N%2F-MGNvrygahkCuEdVVkIq%2F-MGNwLqiqP4r-AXo-0B4%2FTodos%20menos%20IWindows%20CE%20E%20Mobile.PNG?alt=media\&token=ec0ed475-840e-4c43-bbd0-838f1de62214)

### Parameters

* **Target of Message** string - The control or variable that will have the NDEF message when an NDEF message is received.
* **iOS Scan Message** string - On iOS when NFC is activated a system popup shows with the message specified in this parameter.

{% hint style="info" %}
You can define here where the NDEF Message can be stored on a reading operation. It should be the first action to perform while using NFC.
{% endhint %}

{% hint style="info" %}
When the device gets close to an NFC tag or another NFC device that is publishing an NDEF message, your device will receive that message and will be saved in the specified **Target of Message**, also, the event **NFC Message Received** will be triggered.
{% endhint %}

{% hint style="warning" %}
On iOS, it is not possible to simultaneously handle NDEF and HF tags, so, if **Target of Message** is filled in, Kalipso will use NFC reader in NFC NDEF mode, if it is empty, it will use the NFC reader in plain HF mode.
{% endhint %}

{% hint style="warning" %}
On iOS, the operating system does not allows us to control the user interface, it will always show a popup with the message specified. This means the application logic may not be compatible with Andoid/Win10. When **NFCConnect** is called, this popup will show up, and Kalipso events will be triggered normally, but you will be unable to show **MessageBoxes** or other forms until you call **NFCDisconnect**. So for example if you need to read an HF tag you would have to call **NFCConnect** and on the **NFC Card Detected** event you would have to call **NFCReadTag,** and then **NFCDisconnect** to close the system popup dialog so you can show the user the result of the Read Operation.
{% endhint %}
