English 中文(简体)
缩略语
原标题:iPhone SDK: Preferences
  • 时间:2009-10-24 20:19:43
  •  标签:

I wanted an entire page of text(multiple lines) in my settings similar to the one on iphone: settings->general settings->About->Legal

I have not been able to do so. I tried entering title in PSGroupSpecifier, it gives me multiple lines but with a gray background. i wanted a white background. Any help would be highly appreciated.

预 收

问题回答

利用德国马克语并储存你的网页,将其作为超文本文件。

  // Create the UIWebView
  UIWebView *webView = [[[UIWebView alloc] initWithFrame:self.view.frame] autorelease];

  // Add the UIWebView to our view  
  [self.view addSubview:webView];

  // Load the HTML document from resources
  NSString *pagePath = [[NSBundle mainBundle] pathForResource:@"legal" ofType:@"html"];
  NSURL *pageURL = [NSURL fileURLWithPath:pagePath];
  NSURLRequest *pageReq = [NSURLRequest requestWithURL:pageURL];
  [webView loadRequest:pageReq];





相关问题
热门标签