PDF Kit View is not inside my Xcode Objects Library

I'm currently using Xcode Version 10.1 (10B61), MacBook Pro (Late 2011) 10.13.6 High Sierra.

I want to add a PDF Kit View into my storyboard but it is just not listed inside the Objects Library.

1 answer

  • answered 2018-11-08 07:07 Mr.Kushwaha

    PDFView is not listed inside the StoryBoard by default but you can just subclass a normal UIView class into PDFView inside the StoryBoard and make an outlet inside ViewController. Further, you would need to import PDFKit to make it work.

    Refer this for more info on implementation