Highlight Text in PDF using Swift for iOS
Shows how to automatically create a highlight annotation after selecting text, replicating the behavior of Apple Books app. Get additional resources by visiting our guide on programmatically creating PDF annotations in iOS.
![]()
This code sample is an example that illustrates how to use our SDK. Please adapt it to your specific use case.