iOS从C函数访问属性

时间:2015-07-23 02:57:01

标签: ios xcode class properties

.mm文件: enter image description here

.h文件:

enter image description here

是否可以创建iBeaconScanner类的实例并将其存储在* ibeaconScanner属性中?我需要保持对ibeaconScanner属性的强引用,并且需要从C函数调用。

谢谢:)

1 个答案:

答案 0 :(得分:0)

如果您有一个List<T>,则可以使用iBeaconScanner变量

执行此操作
static
相关问题