Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Count of missed calls
01-03-2008, 12:09 AM #1Count of missed calls
For everyone trying to do missed call notification
Add this to CoreTelephony.h:
int _CTCallHistoryStoreGetCountOfMissedCallSince(NSDate *aDate);
NSNumber *pdate = (NSNumber*)CFPreferencesCopyAppValue(CFSTR("RecentsLastViewedDate"), CFSTR("com.apple.mobilephone")); NSDate *aDate = [[NSDate alloc] initWithTimeIntervalSinceReferenceDate: [pdate doubleValue]]; int ct = _CTCallHistoryStoreGetCountOfMissedCallSince(aDate);Starlight Computer Wizardry
Follow me on twitter: @NetMage