iphone - uiwebview problem loading page -


my webpage not load shows nothing have 3 viewcontrollers in firstviewcontroller click button loads next page thirdviewcontroller point webpage doesnt load

code firstviewcontroller

-(ibaction)movetoviewsiteview:(id)sender{      self.third = [[[secondviewcontroller alloc]initwithnibname:@"thirdviewcontroller" bundle:nil]autorelease];     [self.navigationcontroller pushviewcontroller:self.third animated:yes]; } 

code in thirdviewcontroller

- (void)viewdidload {      nsstring *urladdress=@"http://www.apple.com/";     nsurl *url=[nsurl urlwithstring:urladdress];     nsurlrequest *requestobj= [nsurlrequest requestwithurl:url];     [self.cscspage loadrequest:requestobj];     [super viewdidload]; } 

the uiwebview have called webview in document window in ib if drag files owner webview when run app crashes.

hope clear

thanks

move [super viewdidload]; top of viewdidload method. should invoke super class implementation of first.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -