how to add in uiview for images to button programmaticaly in iphone -


im new iphone development.here added images button in uiview programmaticaly in iphone. here problem want add more images in uiview. added next , previous buttons in view .if click nextbutton more displayed in next view. tried dont no how displayed programmaticaly more images when click nextbutton in iphone.

can 1 plz me problem.

thank in advance.

add uiimageview view , do:

myuiimageview.image = [uiimage imagenamed:@"animageinmybundle"];

now, if want have bunch of images , go through them systematically, have few options. going depend on app does.

if you're displaying local images in bundle, can create nsarray (mutable or immutable - per situation) , add uiimages @ run time.

if app downloads data web, you're going start making network calls in secondary thread downloads , sets next image. give better idea of app does, , might able provide more specific code/examples.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -