詳細ビューを3つの異なるテーブルに1つ持っていますテーブルをベースにいくつかの値(背景画像の色はタイル)を変更する必要があります。 ?詳細を見る
あなたが詳細ビューコントローラをプッシュする前に、あなたの詳細ビューの背景を設定することができ、詳細ビュー
//Definizione Foto
NSString *photo = mieRicette.foto;
foto.image = [UIImage imageNamed:photo];
//Definizione Foto Orizzontale
NSString *photoOrizz = mieRicette.foto;
fotoOrizz.image = [UIImage imageNamed:photoOrizz];
//definizione Nome Orizzontale
nomeOrizz.font = [UIFont fontWithName:@"populaire" size:37.5];
nomeOrizz.textColor = [UIColor whiteColor];
nomeOrizz.text=mieRicette.nome;
//definizione Dose
dose.font = [UIFont fontWithName:@"populaire" size:25];
dose.textColor = [UIColor whiteColor];
dose.text=mieRicette.dose;
//definizione Nome e suo colore
nome.font = [UIFont fontWithName:@"LegacySerifLT-MediumItalic" size:25];
nome.text = mieRicette.nome;
nome.textColor = [UIColor colorWithRed:55.0f/255.0f green:70.0f/255.0f blue:48.0f/255.0f alpha:1.0f];
//definizione Tempo
tempo.font = [UIFont fontWithName:@"populaire" size:25];
tempo.textColor = [UIColor colorWithRed:55.0f/255.0f green:70.0f/255.0f blue:48.0f/255.0f alpha:1.0f];
tempo.text=mieRicette.tempo;
//definizione Background
NSString *bck = mieRicette.bck;
background.image = [UIImage imageNamed:bck];
ご迷惑をおかけして申し訳ございません。あなたの問題は何ですか? –
私の状況は3つのテーブルビューと1つの詳細ビューです。 私は、元のテーブルのベースで詳細なビューを変更する必要があります。 私の悪い話をおかけして申し訳ありません。 – Acunamatata