2
我已经在我的iPhone应用程序中集成了铬铸造的功能。我面临的问题是,当铸件没有启动,有时甚至在铸造过程中,我按下断开设备按钮,但没有任何反应。我的断线代码是:设备没有断开连接
-(void)disconnectDevice{
[self.deviceManager stopApplication];
[self.deviceManager removeChannel:self.mediaControlChannel];
[self.deviceManager disconnect];
self.mediaControlChannel = nil;
self.deviceManager = nil;
self.selectedDevice = nil;
}
我在做什么错?