如何使用外观代理更改ios中的特定图像?

时间:2015-07-20 13:45:56

标签: ios objective-c iphone ipad uiimageview

我在iOS中使用主题概念。我正在改变每个人的背景 { "cliente": [ { "id": "<tr class='row'><td>1</td>", "nome": "<td>Nome</td>", "cognome": "<td>Cognome</td>", "indirizzo": "<td>Indirizzo</td>", "email": "<td>Nome@provider.it</td>", "tipo_contatto": "<td>email</td>", "telefono_1": "<td>1234</td>", "telefono_2": "<td>4321</td>", "telefono_3": "<td>9890</td></tr>" } ], "accettazione": [ { "id": "<tr class='row'><td>1</td>", "data": "<td>2015-07-30</td>", "id_operatore": "<td>1</td>", "dispositivo": "<td>qwerty</td>", "note": "<td>qwerty</td>", "password": "<td>qwerty</td>", "tipo_avviso": "<td>qwerty</td>", "id_cliente": "<td>qwerty</td>", "difetto_dichiarato": "<td>qwerty</td>", "codice": "<td>1234567890</td></tr>" } ], "riparazione": [ { "id": "<tr class='row'><td>1</td>", "stato": "<td>asdf</td>", "note_riparazione": "<td>asdf</td>", "data_riconsegna": "<td>2015-07-06</td>", "riconsegnato": "<td>0</td>", "difetto_riscontrato": "<td></td>", "tag": "<td>asdf</td>", "urgente": "<td>1</td>", "id_accettazione": "<td>12</td>", "id_operatore": "<td>1</td></tr>" } ], "operatore": [ { "id": "<tr class='row'><td>1</td>", "nome": "<td>Nome</td>", "cognome": "<td>Cognome</td>", "username": "<td>a.Cognome</td>", "password": "<td>Password</td>", "email": "<td>a.Cognome@provider.it</td>", "telefono": "<td>1234567890</td>", "categoria": "<td>user</td></tr>" }, { "id": "<tr class='row'><td>2</td>", "nome": "<td>Nome</td>", "cognome": "<td>Cognome</td>", "username": "<td>qwerty</td>", "password": "<td>DIT2013SIS</td>", "email": "<td>qwerty@provider.it</td>", "telefono": "<td>987654321</td>", "categoria": "<td>admin</td></tr>" } ] } 因为我使用 <tr> <td>Id</td> </tr> <td>Data</td> [...] 作为所有视图控制器的背景。现在主题更改我想要更改图像,但在这种情况下,视图控制器中的其他UIViewController也会更改。我想知道如何使用外观代理更改特定的图像视图。

使用代理更改外观的代码

UIImageView

0 个答案:

没有答案