objective c - PSPDFKit upgrade -


i upgrading pspdfkit latest version having issues methods changed. looked in changelog not luck, , documentation not yet.

i have following code

[pdfcontroller.emailbuttonitem  setsendoptions:pspdfdocumentsharingoptioncurrentpageonly|pspdfdocumentsharingoptionallpages|pspdfdocumentsharingoptionflattenannotations|pspdfdocumentsharingoptionembedannotations]; 

that want make work latest version. have seen in new version have like:

pspdfdocumentsharingviewcontroller *sharingvc = [[pspdfdocumentsharingviewcontroller alloc] initwithdocument:document visiblepages:nil allowedsharingoptions:pspdfdocumentsharingoptioncurrentpageonly|pspdfdocumentsharingoptionallpages|pspdfdocumentsharingoptionflattenannotations|pspdfdocumentsharingoptionembedannotations]; 

but don´t know how apply pspdfviewcontroller object (pdfcontroller).

also know how move new version:

pdfcontroller.emailbuttonitem.mailcomposeviewcontrollercustomizationblock = ^(mfmailcomposeviewcontroller *mailcontroller) { [mailcontroller setsubject:@"information"]; };

i have seen in documentation:

api: removes mailcomposeviewcontrollercustomizationblock. use pdfviewcontroller:shouldshowcontroller:embeddedincontroller:options: delegate.

but no idea how apply it.

any help?

thanks!

in general, https://support.pspdfkit.com preferred way give support.

in case, property lives in pspdfconfiguration: https://pspdfkit.com/api/ios/classes/pspdfconfiguration.html#//api/name/mailsharingoptions


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -