通过插拔耳机可以恢复声音 -[AVAudioSession setActive:withOptions:error:]: Deactivating an audio session that has running I/O. All I/O should be stopped or paused prior to deactivating the audio session.
我正在尝试将属性IsWriteAllowed of SIDJavnaUstanovaViewModel设置为TextBox。我不能这样做,我尝试了Relative,ElementName,但它只是不起作用。我正在尝试将IsWriteAllowed属性设置为TextBox IsEnabled属性。在我有StaticResource的XAML中,这很好,但是在这里,当我设置DataContext编程时,我无法绑定它。我以编程方式设置了DataContext:
SIDJavnaUstanovaViewModel definitionvm = new SIDJavnaUstanovaViewModel