I have a string called aux which hold six url images, I want to split those images and display it in UIImage view the images are like
http://nssdc.gsfc.nasa.gov/planetary/image/cassini_titan_15.jpg
http://nssdc.gsfc.nasa.gov/planetary/image/cassini_titan_15.jpg
http://nssdc.gsfc.nasa.gov/planetary/image/cassini_titan_15.jpg
http://nssdc.gsfc.nasa.gov/planetary/image/cassini_titan_15.jpg
http://nssdc.gsfc.nasa.gov/planetary/image/cassini_titan_15.jpg
http://nssdc.gsfc.nasa.gov/planetary/image/cassini_titan_15.jpg
I want to split these images using if condition and display it in image-view.
If you read those lines from file where they one by one in separate rows, than you can try this: