diff --git a/NDHTMLtoPDF.m b/NDHTMLtoPDF.m index 5619e32..2aed8fb 100644 --- a/NDHTMLtoPDF.m +++ b/NDHTMLtoPDF.m @@ -108,7 +108,7 @@ - (id)initWithURL:(NSURL*)URL delegate:(id )delegate pathFo self.pageMargins = pageMargins; self.pageSize = pageSize; - [self loadView]; + [self ]; } return self; } @@ -126,12 +126,12 @@ - (id)initWithHTML:(NSString*)HTML baseURL:(NSURL*)baseURL delegate:(id