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

前端 未结 2 1900
广开言路
广开言路 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.

提交回复
热议问题