Skip to content

I have pod install in objC project and create bridge header and import in my class like @import PDFKit and i have access frame work classes easily but i am not able to access class methods error as following as - "No visible @interface for 'PDFDocument' declares the selector 'initWithFilePath:password:error'" . NSError *error; NSString *path = [[NSBundle mainBundle] pathForResource:@"sample" ofType:@"pdf"]; PDFDocument *document = [[PDFDocument alloc] initWithFilePath:path password:@"password_if_needed" error:&error]; PDFViewController *pdfVC = [[PDFViewController alloc] initWithDocument:document]; [self.navigationController pushViewController:pdfVC animated:true]; #101

Open
@RaviPatelCDN123

Description

@RaviPatelCDN123

<!— Provide a general summary of the issue in the Title above —>

Expected Behavior

<!— If you’re describing a bug, tell us what should happen —>
<!— If you’re suggesting a change/improvement, tell us how it should work —>

Current Behavior

<!— If describing a bug, tell us what happens instead of the expected behavior —>
<!— If suggesting a change/improvement, explain the difference from current behavior —>

Steps to Reproduce (for bugs)

<!— Provide a set of steps to reproduce this bug. Include code if relevant —>
1.
2.
3.
4.

Your Environment

<!— Include as many relevant details about the environment you experienced the bug in —>

  • iOS Version:
  • Xcode Version:
  • Swift Version:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions