Created
May 17, 2012 12:16
-
-
Save abrahamjso/2718531 to your computer and use it in GitHub Desktop.
Views iOS example4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIImageView *imagen = [[UIImageView alloc]initWithImage:[UIImage imageNamed:[NSString stringWithFormat:@"migesa.jpg"]]]; //Creamos una ImageView, que es una imagen y la inicializaremos con el nombre de migesa.jpg, que esta la tenemos guardada en nuestra carpeta Archivos de Xcode | |
imagen.frame = CGRectMake(10, 200, 115, 115); //Damos el tamano de nuestra vistaImagen | |
[ventanaFondo addSubview:imagen]; //Agregamos la imagen a la ventanaFondo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment