你好朋友我是iPhone新手请帮助我。我的问题是如何在UIWebView中加载这个数组?
- (void)viewDidLoad {
[super viewDidLoad];
first_heading = [[NSArray alloc] initWithObjects:@"Vocabulary", @"Grammar",
@"Right or wrong?",@"Grammar",
@"Right or wrong?",@"Vocabulary",
@"Right or wrong?",@"Grammar",
@"Right or wrong?",@"Grammar",
@"Vocabulary",@"Grammar",@"Grammar",@"Vocabulary",
@"Grammar",@"Vocabulary",@"Vocabulary",
@"Grammar",@"Right or wrong?",@"Grammar",
@"Grammar",@"Right or wrong?",@"Vocabulary",
@"Grammar",@"Right or wrong?",@"Grammar",nil];
NSString *htmlstring =[first_heading objectAtIndex:0];
[webView loadHTMLString:htmlstring baseURL:nil];
}