I get this log when i try to load a pdf and don't know why.
failed to find PDF header: `%PDF' not found.
hers my code:
- (void)viewDidLoad
{
[webview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://webdesign-schoenefeld.de/es-app/heute.pdf"]]];
NSLog(@"---------------pdfloading....,------------------------");
[webview addSubview:activityind];
timer = [NSTimer scheduledTimerWithTimeInterval:(1.0/2.0)
target:self
selector:@selector(loading)
userInfo:nil
repeats:YES];
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
I use Xcode 6 Beta 5 and iOS 8 beta 5.
Thanks for your help.