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

GetPoupLabel ok in Android but not in IOS

More
IP: 192.168.0.71 8 years 4 months ago #13165 by jarnalich
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"
More
IP: 192.168.0.71 8 years 4 months ago #13167 by emanuele
Hi,

which SDK version are you using?
More
IP: 192.168.0.71 8 years 4 months ago #13168 by jarnalich
Hello,
for IOS version 3.8.2
regards
Juan
More
IP: 192.168.0.71 8 years 4 months ago #13169 by emanuele
Dear Juan,

I invite you to download the most recent version here: www.radaeepdf.com/download/download-prev...e/43-radaeepdf-3-8-3
It contains the fix for this issue.
More
IP: 192.168.0.71 8 years 4 months ago #13170 by jarnalich
works again!
thanks!
Juan
Time to create page: 0.414 seconds
Powered by Kunena Forum