NativeScript always gives you the ability to directly access all native platform APIs, including 3rd party code. When you develop for iOS, you can quickly add third-party libraries to your NativeScript projects via the CocoaPods dependency manager.
To work with such libraries, you need to wrap them as a custom NativeScript plugin and add them to your project. We've put together detailed information on Building Plugins That Use CocoaPods in our documentation.