Skip to content

Commit

Permalink
Fix iclems#19
Browse files Browse the repository at this point in the history
  • Loading branch information
iclems committed Feb 17, 2014
1 parent 0e5116a commit c0c0417
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions NDHTMLtoPDF.m
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ - (id)initWithURL:(NSURL*)URL delegate:(id <NDHTMLtoPDFDelegate>)delegate pathFo
self.pageMargins = pageMargins;
self.pageSize = pageSize;

[self loadView];
[self ];
}
return self;
}
Expand All @@ -126,12 +126,12 @@ - (id)initWithHTML:(NSString*)HTML baseURL:(NSURL*)baseURL delegate:(id <NDHTMLt
self.pageMargins = pageMargins;
self.pageSize = pageSize;

[self loadView];
[self forceLoadView];
}
return self;
}

- (void)loadView
- (void)forceLoadView
{
[[UIApplication sharedApplication].delegate.window addSubview:self.view];

Expand Down

0 comments on commit c0c0417

Please sign in to comment.