how can I pass NSString value to “webwhatsnew” subview using below code . Thanks
-(IBAction)Whatsnew {
NSString *myString =[URL absoluteString];
// how can I pass this value to "webwhatsnew" subview
webwhatsnew = [[WebWhatsnewView alloc]initWithNibName:@"WebWhatsnewView"bundle:nil];
[self.view addSubview:webwhatsnew.view];
}
Make an NSString property in WebWhatsnewView. Then just set a value to it. Example:
Hope it helps
EDIT