I think your problem lies
CGRect currentPageRect = CGRectMake(0, (pageSize.height*currentPage), pageSize.width, pageSize.height);
try using any of the instructions below instead
UIGraphicsBeginPDFPageWithInfo(CGRectMake(0.0, 0.0, 612.0, 792.0), nil);
UIGraphicsBeginPDFPage();
every time you want to add a new page to the context, use the instructions above and you can add pages to the context.
if you want to use the default page size ie 612 X 792, you can directly use UIGraphicsBeginPDFPage();
UIGraphicsBeginPDFPageWithInfo(CGRectMake(0.0, 0.0, 612.0, 792.0), nil);
, .