The player supports a feature called ‘Playback from Segments’. This lets you to click on a segment in your app (i.e. a paragraph) to begin playback from that segment. If the segment is already playing then it will be paused instead. The segments playback in the iOS Player is based on the Segments Playback in the Web Player. The iOS SDK cannot automatically identify segments, instead you should be able to manually link each text segment with its beyondwords marker. You can find an example of how segment playback can be integrated in your app in PlaybackFromSegmentsViewController.swiftDocumentation Index
Fetch the complete documentation index at: https://docs.beyondwords.io/llms.txt
Use this file to discover all available pages before exploring further.
How it works
To highlight the current segment you have to listen for theCurrentSegmentUpdated event, then find the correspondig UI element to the currentSegment and apply the desired styling to it.
UITapGestureRecognizer and call setCurrentSegment with the correspondig marker.