ABAddressBookRegisterExternalChangeCallback(addressBookRef, { _, _, _ in self.addressBookDidChange()}, nil)
but have this warning
A C function pointer cannot be formed from a closure that captures context
how I can resolve this only with Swift?!
ABAddressBookRegisterExternalChangeCallback(addressBookRef, { _, _, _ in self.addressBookDidChange()}, nil)
but have this warning
A C function pointer cannot be formed from a closure that captures context
how I can resolve this only with Swift?!