GetPoupLabel ok in Android but not in IOS - 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: GetPoupLabel ok in Android but not in IOS

GetPoupLabel ok in Android but not in IOS 1 year 2 weeks ago #13165

  • jarnalich
  • jarnalich's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hello,
I have a problem with the function "GetPoupLabel" in IOS, I always receive an empty String.

-(NSString *)getPopupLabel
{
char buf[1024];
if( !Page_getAnnotPopupLabel( m_page, m_handle, buf, 1023 ) )
return NULL;
return [NSString stringWithUTF8String:buf];
}


I receive the data correctly in Getname() and GetPopupSubject().
I have a premium license for iOS and another for Android.

The function Annotation.GetPopupLabel () works correctly on Android.
Please can you help me? thanks !Here is an example:
Example:

[page objsStart];
PDFAnnot *annot = [page annotAtIndex: [page annotCount] - 1];


[annot setPopupLabel:@"TEST1"];
NSString strTest1= [annot getPopupLabel];
-> Always empty in IOS but ok "TEST1" in Android!

[annot setName:@"TEST2"];
NSString strTest2= [annot getName];
-> ok "TEST2"

[annot setPopupSubject:@"TEST3"];
NSString *strTest3 = [annot getPopupSubject];
-> ok "TEST3"

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

GetPoupLabel ok in Android but not in IOS 1 year 1 week ago #13167

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 523
  • Karma: 20
  • Thank you received: 60
Hi,

which SDK version are you using?

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

GetPoupLabel ok in Android but not in IOS 1 year 1 week ago #13168

  • jarnalich
  • jarnalich's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hello,
for IOS version 3.8.2
regards
Juan

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

GetPoupLabel ok in Android but not in IOS 1 year 1 week ago #13169

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 523
  • Karma: 20
  • Thank you received: 60
Dear Juan,

I invite you to download the most recent version here: http://www.radaeepdf.com/download/download-preview-beta/file/43-radaeepdf-3-8-3
It contains the fix for this issue.
The following user(s) said Thank You: jarnalich

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

GetPoupLabel ok in Android but not in IOS 1 year 1 week ago #13170

  • jarnalich
  • jarnalich's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
works again!
thanks!
Juan

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

  • Page:
  • 1
Powered by Kunena Forum