how to add image from iPhone gallery to an array IOS : As i am very much new to iOS development,i am trying to add an uiimage from image gallery to an array.But when i try to use the array to add image to uiimageview it shows me an error [UIImage stringByDeletingPathExtension]: unrecognized selector sent to instance 0x7fefd3ea02f0.