control array in xcode-Collection of common programming errors
If you are asking how to detect which label or image is selected which are created at runtime,then
1 Assing tags to the labels/images while creating through code.
2 Write a method which will be invoked when a particular image/label is pressed.
3 Pass the id of the sender when invoking that method.
4 When the invoked method is called,write the code for a particular tag of an image or label(you can use switch case here).
Thats it.You are good to proceed.
Thanks.