- Posts: 3
- Thank you received: 0
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
IP: 192.168.0.71
8 years 4 months ago #13165
by jarnalich
GetPoupLabel ok in Android but not in IOS was created 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"
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"
IP: 192.168.0.71
8 years 4 months ago #13167
by emanuele
Replied by emanuele on topic GetPoupLabel ok in Android but not in IOS
Hi,
which SDK version are you using?
which SDK version are you using?
IP: 192.168.0.71
8 years 4 months ago #13168
by jarnalich
Replied by jarnalich on topic GetPoupLabel ok in Android but not in IOS
Hello,
for IOS version 3.8.2
regards
Juan
for IOS version 3.8.2
regards
Juan
IP: 192.168.0.71
8 years 4 months ago #13169
by emanuele
Replied by emanuele on topic GetPoupLabel ok in Android but not in IOS
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.
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.
IP: 192.168.0.71
8 years 4 months ago #13170
by jarnalich
Replied by jarnalich on topic GetPoupLabel ok in Android but not in IOS
works again!
thanks!
Juan
thanks!
Juan
Time to create page: 0.414 seconds