RadaeePDF.com :: Topic: GetPoupLabel ok in Android but not in IOS (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about iOS development and PDF

TOPIC: GetPoupLabel ok in Android but not in IOS

GetPoupLabel ok in Android but not in IOS 2 weeks 4 days ago #13165

  • jarnalich
  • jarnalich's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 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"
The administrator has disabled public write access.

GetPoupLabel ok in Android but not in IOS 2 weeks 1 day ago #13167

  • emanuele
  • emanuele's Avatar
  • OFFLINE
  • Moderator
  • Posts: 450
  • Thank you received: 51
  • Karma: 14
Hi,

which SDK version are you using?
The administrator has disabled public write access.

GetPoupLabel ok in Android but not in IOS 2 weeks 1 day ago #13168

  • jarnalich
  • jarnalich's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Hello,
for IOS version 3.8.2
regards
Juan
The administrator has disabled public write access.

GetPoupLabel ok in Android but not in IOS 2 weeks 1 day ago #13169

  • emanuele
  • emanuele's Avatar
  • OFFLINE
  • Moderator
  • Posts: 450
  • Thank you received: 51
  • Karma: 14
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 administrator has disabled public write access.
The following user(s) said Thank You: jarnalich

GetPoupLabel ok in Android but not in IOS 2 weeks 1 day ago #13170

  • jarnalich
  • jarnalich's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
works again!
thanks!
Juan
The administrator has disabled public write access.
Powered by Kunena Forum