Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF

TOPIC:

iOS 7 crash 7 years 5 months ago #4020

  • stronglee
  • stronglee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 93
  • Karma: 1
  • Thank you received: 2
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.

Please Log in or Create an account to join the conversation.

iOS 7 crash 7 years 5 months ago #4021

  • truculent
  • truculent's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 64
  • Thank you received: 0
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
but i need core library. [prevent crash ]

Please Log in or Create an account to join the conversation.

Last edit: by patel_patel_patel.

iOS 7 crash 7 years 5 months ago #4022

  • stronglee
  • stronglee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 93
  • Karma: 1
  • Thank you received: 2
:) OK

Please Log in or Create an account to join the conversation.

iOS 7 crash 7 years 5 months ago #4023

  • truculent
  • truculent's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 64
  • Thank you received: 0
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:
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

Last edit: by patel_patel_patel.

iOS 7 crash 7 years 5 months ago #4027

  • stronglee
  • stronglee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 93
  • Karma: 1
  • Thank you received: 2
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.

Please Log in or Create an account to join the conversation.

iOS 7 crash 7 years 5 months ago #4033

  • truculent
  • truculent's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 64
  • Thank you received: 0
thank you!
on liny delete nil in nslocalize ?
in this update did you add new feature to Reader like resize annote remove annot ?

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum