我正在使用本教程使用sqlite 插入10000个条目
I am using this tutorial for using sqlite to insert 10000 entries
在我的 viewcontroller.m
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view from its nib. [self AddTHousandsOfEntry]; } -(void)AddTHousandsOfEntry { for (int i=0; i<100500; i++) { NSString *regNo=[NSString stringWithFormat:@"%d",i]; NSString *name=[NSString stringWithFormat:@"name%d",i]; NSString *department=[NSString stringWithFormat:@"department%d",i]; NSString *year=[NSString stringWithFormat:@"year%d",i]; if (regNo.length>0 &&name.length>0 && department.length>0 &&year.length>0 ) { [[DBManager getSharedInstance]saveData:regNo name:name department: department year:year]; } } }我出现错误崩溃:严重失败:LastResort字体不可用
我正在使用 xcode 5.1,部署目标设置为7.1
I am using xcode 5.1 with deployement target set 7.1
如何修复它。 我得到了这个答案但似乎不是一个灵巧的答案>
How to fix it. I got this answer but not seems its a genie answer>
请帮助,我无法输入成千上万的输入原因。 我的客户要求是使用7.1脱靶目标。
Please help, i am unable to enter thousands of entry cause of it. My client requirement is to use 7.1 depolyement target.
如果我将部署目标设置为6.1并将模拟器设置为6.1 然后调用AddTHousandsOfEntry不要显示任何错误。但是在单击文本字段以输入值时,会出现此错误
And if i set my Deployment target to 6.1 and simulator to 6.1 Then on calling AddTHousandsOfEntry dont show any error. But on clicking textfield to enter value it gives this error
**
Unable to load TextInput framework from /System/Library/PrivateFrameworks/TextInput.framework/TextInput No input manager class for input mode: en_US**
推荐答案不是数据库中 10000个条目的问题,而是我认为 font 的问题。因此,您可以通过从 info.plist 中删除字体,然后逐个添加一个字体,然后对每个版本进行测试,找出造成字体问题的方法来解决该问题。
I think this is not issue of 10000 entries in database but it is the issue of font i think. So, you can overcome it by deleting fonts from your info.plist and then add one by one and then test with every edition and find out which font creating issue.
请参考这样发布 !!!!
更多推荐
修复崩溃:严重故障:LastResort字体不可用
发布评论