1. 钥匙串中:红色框中两者之前一一对应,如果将Keys中private Key或者public Key删除,那么其对应的证书将无法使用 (由于我不喜欢我的东西太乱,于是删除了Keys中的一些东西,结果发现证书无法使用了,重新安装都不好使,只好重新申请了一套证书)
图
3. 自己手动创建Framework库时,默认创建的是动态库,如果你需要的是静态库,那么需要手动修改“Mach-O Type”为Static Library
NSRange range = [phoneNum rangeOfCharacterFromSet:nameCharacters];
if (range.location != NSNotFound) {
return NO;
// 若为UITableViewCellContentView(即点击了tableViewCell),则不截获Touch事件
if ([NSStringFromClass([touch.view class]) isEqualToString:@"UITableViewCellContentView"]) {
return NO;
}
return YES;
- (void)presentViewController:(UIViewController *)viewControllerToPresent animated:(BOOL)flag completion:(void (^)(void))completion {
if ([[DEVICE systemVersion] floatValue] >= 8.0) {
viewControllerToPresent.modalPresentationStyle = UIModalPresentationOverCurrentContext;
} else {
self.modalPresentationStyle =UIModalPresentationCurrentContext;
}
[super presentViewController:viewControllerToPresent animated:flag completion:completion];
}