Xcode: Why does “User Interaction Enabled” appear twice?

前端 未结 2 1901
广开言路
广开言路 2021-01-03 17:20

This question applies to Xcode 3 and 4: Why does this checkbox appear twice? (under the Identity inspector and also under the Attributes inspector). And more important, howc

相关标签:
2条回答
  • 2021-01-03 17:39

    The User Interaction Enabled in the Identity Inspector is referring to the Accessibility protocol. Here is a link to the Accessibility Programming Guide You tick different traits to modify how the elements responds to the Accessibility systems on the device.

    On the Attributes Inspector, the User Interaction Enabled is applying to non-Accessibility interaction with the particular element.

    If you're wondering about why to bother with Accessibility, here is a good Matt Gemmell post on why it matters.

    0 讨论(0)
  • 2021-01-03 17:41

    One is for the main functionality in app, and one (under Accessibility in identifier inspector) is for enabling some features for people with disabilities.

    0 讨论(0)
提交回复
热议问题