
Unable to load caption ios
I've been trying to load SRT file from within the app by doing so but with no success.
[[JWTrack alloc] initWithFile:[[NSBundle mainBundle] pathForResource:@"caption" ofType:@"srt"] label:@"english" isDefault:YES];
However, I'm able to load a SRT file that is hosted online
[[JWTrack alloc] initWithFile:@"http://playertest.longtailvideo.com/caption-files/sintel-en.srt" label:@"english" isDefault:YES];
Am I missing something or loading the SRT from the bundle wrongly?