|
@@ -29,6 +29,7 @@
|
|
CPDFDocument *document = [[CPDFDocument alloc] initWithURL:url];
|
|
CPDFDocument *document = [[CPDFDocument alloc] initWithURL:url];
|
|
CPDFView *pdfView = [[CPDFView alloc] initWithFrame:self.view.bounds];
|
|
CPDFView *pdfView = [[CPDFView alloc] initWithFrame:self.view.bounds];
|
|
pdfView.document = document;
|
|
pdfView.document = document;
|
|
|
|
+ pdfView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
|
|
[self.view addSubview:pdfView];
|
|
[self.view addSubview:pdfView];
|
|
}
|
|
}
|
|
|
|
|