Resolved Getting a text from html

Discussion in 'iOS Programming' started by erdinc27, Aug 2, 2016.

  1. erdinc27 macrumors regular

    Jul 20, 2011
    There is a service and it returns a keyword in an html body.

    How can i get that keyword from body ?

    Here is the link how html looks
  2. erdinc27 thread starter macrumors regular

    Jul 20, 2011
    NSURL *url = [NSURL URLWithString:@"theWebsiteURL"];
    NSString *webData= [NSString stringWithContentsOfURL:url encoding:NSUTF8StringEncoding error:nil];
    i could get by this way.
  3. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    Look into the HPPLE library on github and XPath queries to parse html and access individual bits of it.

Share This Page