摘要: CLLocation *newLocation = [locations lastObject]; CLGeocodeCompletionHandler handler = ^(NSArray *place, NSError *error) { for (CLPlacemark *placemark 阅读全文
posted @ 2016-04-14 16:12 新年新气象 阅读(196) 评论(0) 推荐(0)
摘要: 判断当前设备是否支持电话功能 +(int)isCanCall{ if(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad || [[[UIDevice currentDevice] model] isEqualToString:@"iPod to 阅读全文
posted @ 2016-04-14 15:48 新年新气象 阅读(255) 评论(0) 推荐(0)