これは私の最初の投稿なので、フォーマットに問題がないことを願っています。
このリーク「オンライン上のオブジェクトのリークの可能性」が発生しているのですが、理解できません。多分私はそれをあまりにも一生懸命に見ているので、私は問題を見ることができません。誰かが私を助けてくれますか?
行は質問です:appDelegate.imageText
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
PListFirstAppDelegate *appDelegate = (PListFirstAppDelegate *)[[UIApplication sharedApplication]delegate];
appDelegate.imageText= [[NSString alloc]initWithFormat:@"%@",[[array objectAtIndex:indexPath.row]objectForKey:@"image"]];
//NSLog(@"%@", appDelegate.imageText);
NavigationalDescription *detailViewController = [[NavigationalDescription alloc] initWithNibName:@"NavigationalDescription" bundle:nil];
// Pass the selected object to the new view controller.
[self.navigationController pushViewController:detailViewController animated:YES];
[detailViewController release];
}