Can Siri be disabled within an app?

后端 未结 2 757
夕颜
夕颜 2021-02-18 22:26

I\'m working an on iOS game and recently tested on an iPhone 4S. Siri activates sometimes when my thumb covers the proximity sensor. This is a feature of the 4S. Instead of hold

2条回答
  •  太阳男子
    2021-02-18 22:57

    Setting :

    [UIDevice currentDevice].proximityMonitoringEnabled = YES; 
    

    Disables Siri from activating when you activate the proximity sensor. As a result although, it blacks out the screen when the proximity sensor is activated instead.

提交回复
热议问题