hamburger-tech-nits

主にプログラミングのNITSな話

<key>UIApplicationSupportsIndirectInputEvents</key>

FlutterアプリをXcode15を利用してビルドしたらInfo.plistが勝手に編集された。

<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>

developer.apple.com

A Boolean value indicating that the app generally supports indirect input mechanisms.

AppleTVのリモコンなど、直接タップする以外の方法を想定しているのかも

developer.apple.com

In iOS 17 and later, the system defaults to supporting indirect input events, meaning it treats your app the same as if you specify YES.

In versions of iOS earlier than iOS 17, the system defaults to not supporting indirect input events, meaning it treats your app the same as if you specify NO.

iOS17からってことはXcode14の時から出てきて良さそうな差分だが、なぜ今になったのかはよくわかってない。