嗨,当我尝试将此行的电话号码保存到 coredata 元素时
[newLead setValue:[NSNumber numberWithInteger:[self.cellTextField.text doubleValue] ] forKey:@"cell"];
然后我用这个加载它
[self.cellTextField setText:[[self.lead valueForKey:@"cell"] stringValue]];
它有效,但如果数字像 905666777 ,那个数字太大了,我得到 2147483647
我怎样才能让它使用905号码?
当我拨打号码时
NSURL *telUrl = [NSURL URLWithString:[@"tel://" stringByAppendingString:@"cell"]];
[[UIApplication sharedApplication] openURL:telUrl];
它只拨前 3 个数字 214,我怎样才能让它拨所有数字
谢谢