Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

View is not opening

More
IP: 192.168.0.71 12 years 4 months ago - 12 years 4 months ago #6019 by imran.nazeer
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.
Last edit: 12 years 4 months ago by sheeraz_am.
More
IP: 192.168.0.71 12 years 4 months ago #6024 by stronglee
Replied by stronglee on topic View is not opening
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
More
IP: 192.168.0.71 12 years 4 months ago #6025 by imran.nazeer
Replied by imran.nazeer on topic View is not opening
Do we need to add RDPDFReflowViewController.
In the Documentation, it wasnt given
More
IP: 192.168.0.71 12 years 4 months ago #6027 by stronglee
Replied by stronglee on topic View is not opening
www.androidpdf.mobi/download/download-io...69-ios-pdfviewer-210
here can download new version demo. Did you use this version?
More
IP: 192.168.0.71 12 years 4 months ago #6028 by imran.nazeer
Replied by imran.nazeer on topic View is not opening
Yes am using that version only
More
IP: 192.168.0.71 12 years 4 months ago #6033 by imran.nazeer
Replied by imran.nazeer on topic View is not opening
Still the same issue even after pushing to RDPDFReflowViewController.
Its not opening
Time to create page: 0.513 seconds
Powered by Kunena Forum