前のViewControllerからラベルを取得し、次のView Controllerでそのラベルを表示していますが、テキストフィールドでラベルを編集したいので、これらのラベルをユーザーインタラクションを有効に設定しましたが、まだ機能していません
-(void)setDataOnForm
{
nameLbl.text=name;
emailLbl.text=email;
imageSelect.image=[MyCommonFunctions getImageFromDocuments:image];
NSLog(@"image %@", image);
}
これが私の以前のViewControllerです
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
user *worddc=[dataArray objectAtIndex:[indexPath row]];
profileVC *pvc =[[profileVC alloc]initWithNibName:@"profileVC" bundle:nil];
[self.navigationController pushViewController:pvc animated:YES];
pvc.getid=worddc.user_id;
pvc.name=worddc.name;
pvc.email=worddc.email;
pvc.image=worddc.image;
[pvc setDataOnForm];
}