Share Share
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1
  • 2

TOPIC:

View is not opening 11 years 11 months ago #6019

  • imran.nazeer
  • imran.nazeer's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 0
I integrated new SDK in iOS. There is no error.
[self.view addSubview:m_view];
It returns 1 in RDPDFViewController.
In MainviewController.m
// method - (void)openPDF:(id)sender
if(result == 1)
{
m_pdf.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:m_pdf animated:YES];
}
It is not opening. It simply blinks . View s not coming.
Help me to solve the issue. Thanks in advance.

Please Log in or Create an account to join the conversation.

Last edit: by sheeraz_am.

View is not opening 11 years 11 months ago #6024

  • stronglee
  • stronglee's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 93
  • Thank you received: 2
Hi,imran.nazeer

Is m_view define as PDFView?

Try open a file like below:
result = [m_pdf PDFOpen:pdfFullPath :pwd];
if(result == 1)
{
UINavigationController *nav = self.navigationController;
m_pdf.hidesBottomBarWhenPushed = YES;
nav.hidesBottomBarWhenPushed =NO;
[nav pushViewController:m_pdf animated:YES];
}

It needn't add a subView , just push the RDPDFReflowViewController , the file will show.
p.s pwd is password of PDF file , if no password ,define it as @"" or nil

Please Log in or Create an account to join the conversation.

View is not opening 11 years 11 months ago #6025

  • imran.nazeer
  • imran.nazeer's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 0
Do we need to add RDPDFReflowViewController.
In the Documentation, it wasnt given

Please Log in or Create an account to join the conversation.

View is not opening 11 years 11 months ago #6027

  • stronglee
  • stronglee's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 93
  • Thank you received: 2
www.androidpdf.mobi/download/download-io...69-ios-pdfviewer-210
here can download new version demo. Did you use this version?

Please Log in or Create an account to join the conversation.

View is not opening 11 years 11 months ago #6028

  • imran.nazeer
  • imran.nazeer's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 0
Yes am using that version only

Please Log in or Create an account to join the conversation.

View is not opening 11 years 11 months ago #6033

  • imran.nazeer
  • imran.nazeer's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 0
Still the same issue even after pushing to RDPDFReflowViewController.
Its not opening

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum