阅读背景:

如何从Objective C中的另一个类正确访问变量

来源:互联网 

I have looked at various forums trying to find a solution to this problem. I currently have 2 classes, BluetoothViewController and AccountViewController. What I am trying to do is pass an account that the user selects from the AccountViewController to BluetoothViewController, so I can use that string later in the BluetoothViewController. What I have done is create an instance of AccountViewController in BluetoothViewController.h and I have created a property for the string in the AccountViewController.h file. The string that I am trying to access is "account8"I have looked at various forums trying to find




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: