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

TOPIC:

open Link probLem in note! 10 years 8 months ago #3412

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • 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! 10 years 8 months ago #3416

  • stronglee
  • stronglee's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 93
  • 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