问题
I'm trying to get the catalog of a PDF document but I cannot find CGPDFDocumentGetCatalog
.
Is it unbound or am I just blind?
回答1:
MonoTouch.CoreGraphics.CGPDFDocument::GetCatalog() is the binding of CGPDFDocumentGetCatalog, see github.
However I only added this recently so you'll need MonoTouch 4.1 (or more recent) or add p/invoke directly into your code.
来源:https://stackoverflow.com/questions/7257268/what-is-the-equivalent-of-cgpdfdocumentgetcatalog-in-monotouch