search

Home  >  Q&A  >  body text

objective-c - 一个c接口,参数是c函数指针。有办法把oc对象的方法传过去吗

一个c接口,参数是c函数指针。有办法把oc对象的方法传过去吗

天蓬老师天蓬老师2851 days ago577

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-04-21 11:19:52

    (__bridge void *)(NSObject)
    

    Generally, XCode will report an error and then click the red warning on the left side of the editor to help you correct it.

    reply
    0
  • Cancelreply