iphone - how to solve nsusredefaults problem -
Hi I'm new to iphone. What I'm doing is image viewcontroller with image displayed in 20 images as grid in image image and displayed in image selected. To display imageview lable with the image I am using NSUserDefaults to store the tag value of the image. The problem is that it displays the previous image name eg image 2 for image 2, image 3 second for the displayed image 2, click the first time from AdWords, it is displayed in general how I see this PLS I can solve the
Before reading your data, [NSUserDefaults synchronize]
Try to call it also to make sure that you do not accidentally have 0th element in the array. Or are.
Comments
Post a Comment