iphone - How to declare an instance of UIImageView as global? -


i want use single imageview in classes want declare global. can please tell me how declare global.

you can create in appdelegate , use it

 appdelegate *localvar = [[uiapplication sharedapplication] delegate]; // ok     localvar.imageview=[...]; 

Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -