Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

iOS 7 crash

More
IP: 192.168.0.70 12 years 6 months ago #4020 by stronglee
Replied by stronglee on topic iOS 7 crash
hi,truculent
Don't worry ,the core library is independent of cocoa touch, i just fixed some old cocoa interface in demo project,and some UI bugs in ios7,if you use your own icon you do not worry about these modified.
If you have other problems,you can send message to me , new version demo will updated one or two days later, I need some more test.
More
IP: 192.168.0.70 12 years 6 months ago - 12 years 6 months ago #4021 by truculent
Replied by truculent on topic iOS 7 crash
can you gice me your change log in this new version ?
can you send me your demo project noW ?
becuase our project rejected for a problem [backup icloud]
so we must upload again! but i want to support ios7 now [i know you need more times for test it]
but i need core library. [prevent crash ]
Last edit: 12 years 6 months ago by patel_patel_patel.
More
IP: 192.168.0.70 12 years 6 months ago #4022 by stronglee
Replied by stronglee on topic iOS 7 crash
:) OK
More
IP: 192.168.0.70 12 years 6 months ago - 12 years 6 months ago #4023 by truculent
Replied by truculent on topic iOS 7 crash
only okay?
can you send me your demo project noW ?
becuase our project rejected for a problem [backup icloud]
so we must upload again! but i want to support ios7 now
but i need core library. [prevent crash ]
my email is:
[email protected]
Last edit: 12 years 6 months ago by patel_patel_patel.
More
IP: 192.168.0.70 12 years 6 months ago #4027 by stronglee
Replied by stronglee on topic iOS 7 crash
Hello,
Did you test your app with ios7 version? The core library is support for ios7, and it not updated in new demo.

The old demo crash in ios7 cause by NSLocalizedString function and [NSFileManager defaultManager]

old cocoa function:
self.title = NSLocalizedString(@"Highlight Color", @"Localizable",nil);
new cocoa function(ios7):
self.title = NSLocalizedString(@"Highlight Color", @"Localizable");

and modified viewDidlLoad in RDFileTableController.m
/*
*/
NSArray *paths=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *dpath=[paths objectAtIndex:0];
NSFileManager *fm = [NSFileManager defaultManager];
NSString *dir = [[NSBundle mainBundle]pathForResource:nil ofType:nil inDirectory:@"fdat"];
NSString *hf;
hf = [[NSBundle mainBundle]pathForResource:@"help" ofType:@"pdf" inDirectory:@"fdat"];
NSString *helpfile = [hf substringFromIndex:hf.length-8];
m_files = [[NSMutableArray alloc] init];
[self addPDFs:dpath :@"" :fm :0];
userDefaults = [NSUserDefaults standardUserDefaults];
bool b_helpfile = [userDefaults boolForKey:@"helpfileLoaded"];

Make these modified above ,the old demo will run in iOS7 simulater.
More
IP: 192.168.0.70 12 years 6 months ago #4033 by truculent
Replied by truculent on topic iOS 7 crash
thank you!
on liny delete nil in nslocalize ?
in this update did you add new feature to Reader like resize annote remove annot ?
Time to create page: 0.396 seconds
Powered by Kunena Forum