core bluetooth - Peripheral connection state goes to IDLE when switching tabs, but remains in first tab -


By now, I'm capable of connecting peripherals properly and can send it commands, but when I select a new tab The connection status goes to IDEl and I can not send anything from the next tab, but I can go back to the first tab and just send the command properly. I'm not the most experienced programmer, and I've been stuck here for a while. So any help at all will be appreciated. When I created the tab bar controller, I did not add any code in .h or .m files ... it is not certain whether this could be a problem or not, I had the first working page, then TBC and five Other view controllers then added them all together. I just want a connection to stay through the tabs, as it is going forward and back between them will often be happening.

Thank you!

You can serve from scene to second and scan again for attributes. Double work, but it works;) I'm not sure that you can only give characters for other view. But you can try it

I'm not a very experienced programmer but it worked for me.

Would you like to be able to send and receive goods in all the scenes?

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -