# How to use the 'focusedElement(using:)' type method?

**URL:** <https://forums.kodeco.com/t/how-to-use-the-focusedelement-using-type-method/45764>\
**Category:** Swift\
**Created:** [August 10, 2018, 9:32am UTC](https://forums.kodeco.com/t/how-to-use-the-focusedelement-using-type-method/45764 "2018-08-10T09:32:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![capitainecaverne](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/capitainecaverne/32/103567_2.png) [@capitainecaverne](https://forums.kodeco.com/u/capitainecaverne)\
**Post date:** [August 10, 2018, 9:32am UTC](https://forums.kodeco.com/t/how-to-use-the-focusedelement-using-type-method/45764/1 "2018-08-10T09:32:04Z")

</div>

Hi everyone,

I found the accessibility **focusedElement(using:)** type method but cannot find the type element it refers to.  
The Apple reference html page isn’t really helpful about it.

Does anyone know how to find this type and what it is exactly, please ?

PS : a workaround is to use directly the objective-C syntax **UIAccessibilityFocusedElement(UIAccessibilityNotificationVoiceOverIdentifier)** to get the desired result but I’d like to understand the swift syntax.

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [February 6, 2019, 5:25am UTC](https://forums.kodeco.com/t/how-to-use-the-focusedelement-using-type-method/45764/3 "2019-02-06T05:25:16Z")

</div>

Opened on February 6, 2019, 5:25am UTC


