# Trigger scan barcode on ios only

**URL:** <https://forum.inductiveautomation.com/t/trigger-scan-barcode-on-ios-only/109564>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [August 10, 2025, 1:22pm UTC](https://forum.inductiveautomation.com/t/trigger-scan-barcode-on-ios-only/109564 "2025-08-10T13:22:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hw79](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@hw79](https://forum.inductiveautomation.com/u/hw79)\
**Post date:** [August 10, 2025, 1:22pm UTC](https://forum.inductiveautomation.com/t/trigger-scan-barcode-on-ios-only/109564/1 "2025-08-10T13:22:05Z")

</div>

I have a project that’s used by zebra scan guns and ipads. On my input field, I have an onFocus event that starts the Scan Barcode action. Since the scan guns have a built-in data wedge, I only want that even to fire if the device == ‘ios’. I don’t see a way to call the Scan Barcode action through scripting, only as an action in the event configuation.
