iOS bridge vs bridge_transfer

后端 未结 4 1528
旧巷少年郎
旧巷少年郎 2021-01-31 03:27

I\'m confused with bridge and bridge_transfer, is this correct?

-(void)getData{
    ABAddressBookRef addressBook = ABAddressBookCreate(         


        
4条回答
  •  鱼传尺愫
    2021-01-31 03:45

    One edit: I believe calling CFRelease on a nil object does cause the app to crash

提交回复
热议问题