Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSString *str=[[[titles objectForKey:@"rulesTitle"] objectAtIndex:pagina] objectForKey:@"page"];
- NSArray *substrings = [str componentsSeparatedByString:@"#"];
- NSString *first = [substrings objectAtIndex:0];
- NSString *second;
- if ([substrings count]>1) {
- second = [substrings objectAtIndex:1];
- [playScroll loadHTMLString:second baseURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] bundlePath]]];
- }
Add Comment
Please, Sign In to add comment