open Link probLem in note! - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: open Link probLem in note!

open Link probLem in note! 5 years 3 months ago #3412

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 64
  • Thank you received: 0
hi
some time when tapped on my note we give this aLErt :(

upload7.ir/images/30794126762862114032.png

but not's content not 'y'!! in alert show wrong Value :(

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

open Link probLem in note! 5 years 3 months ago #3416

  • stronglee
  • stronglee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 92
  • Karma: 1
  • Thank you received: 2
Hi,
In PDFView.m,there need to judge the return value of Annot


if( annot )
{
char uri[512];
int returnValue = Page_getAnnotURI(page, annot, uri, 511);
NSString *nuri = [[NSString alloc]initWithUTF8String:uri];
if(returnValue>0 )//open url
{
if( m_delegate )
[m_delegate OnOpenURL:nuri];
return ;
}

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

  • Page:
  • 1
Powered by Kunena Forum