有没有办法(设置或快捷方式)显示输出超过500行的查询的总行数 - 也就是说,不修改首选项中的"结果集页面大小"值?select count(*) from (<query>) t除了显示的行之外,我主要寻找输出.
更新到iOS 8.0 SDK后,尝试UIImagePickerController从内显示时出现错误UITableViewCell:
*** Assertion failure in -[PartsSearchViewController
_presentViewController:withAnimationController:completion:],
/SourceCache/UIKit/UIKit-3318.0.1/UIViewController.m:5726
*** Terminating app due to uncaught exception
'NSInternalInconsistencyException',
reason: 'The specified modal presentation style doesn't
have a corresponding presentation controller.'
Run Code Online (Sandbox Code Playgroud)
我的UITableViewCell“ PartCell”被这样声明:
@interface PartCell : UITableViewCell <UIImagePickerControllerDelegate>
Run Code Online (Sandbox Code Playgroud)
在PartCell的presentViewController以下行中失败:
- (IBAction)takeAuditImageClicked:(id)sender {
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.delegate = (id)self;
picker.allowsEditing = YES;
picker.modalPresentationStyle = UIModalPresentationNone;
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
// FAILING ON THE LINE BELOW:
[[UIViewController topMostController] presentViewController:picker animated:YES completion:NULL];
}
Run Code Online (Sandbox Code Playgroud)
以下是 …