iphone - Retrieve caller id in IOS 8.3 -
according ios caller id retrieve, have done retrieve caller info that:
nsdictionary *info = (__bridge nsdictionary *)userinfo; ctcall *call = (ctcall *)[info objectforkey:@"kctcall"]; nsstring *caller = ctcallcopyaddress(null, call);
but after ios 8.3, there no address returned ctcall. before ios 8.3, ctcall instance that:
{ kctcall = "<ctcall 0x17eb85e0 [0x38cb0700]>{status = 4, type = 0x1, subtype = 0x1, uuid = 0x17e89d90 [c5b34d1d-74b8-490a-8252-c9435a418290], address = 0x17e7f9f0, externalid = -1, start = 2.22507e-308, session start = 4.58346e+08, end = 2.22507e-308}"; kctcallstatus = 4; }
ios 8.3 instance this:
{ kctcall = "<ctcall 0x16d85970 [0x3560c8b0]>{status = 4, type = 0x1, subtype = 0x1, uuid = 0x16d88f90 [f60c14dc-5288-41c1-a96f-c06f08e7757e], address = 0x0, externalid = -1, start = 2.22507e-308, session start = 4.58317e+08, end = 2.22507e-308}"; kctcallstatus = 4; }
the address of ctcall 0. there suggestion? lot.
Comments
Post a Comment