You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
<!— 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:
The text was updated successfully, but these errors were encountered:
RaviPatelCDN123
changed the title
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 able to access class methods error as following as -
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];
Nov 13, 2019
<!— 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 —>
The text was updated successfully, but these errors were encountered: