is it valid statement?
SqlAssignementApp开发者_如何学GoDelegate *appDelegate =(SqlAssignementAppDelegate *) [[UIApplication sharedApplication]delegate];
lblresNam.text =[appDelegate.Record objectAtIndex:0];
lblresNam is UITextField type object Record is NSMutableArray
but my application is terminating.. Please give me solutions...
Is your Record object a property, so you know it's being retained, and so dot notation will be available?
More likely the culprit, did you forget to @synthesize Record so it has a getter?
If you neglected to do either one of those, appDelegate.Record is an error.
精彩评论