UIImageView's image don't change by code?

There could be 2 possible reasons: Your self. ExpandedImageView is nil You don't have images named bt_up. Png, bt_down.png.

Self. ExpandedImageView is a valid pointer and I have those image. It's very strange.

But thanks all for your help. – Amnysia Feb 3 at 2:24.

If your image and properties really are valid, then I'd suggest checking which thread is calling setExpanded:. Cocoa states that UI objects should only be modified by the UI thread, so if you're invoking it from some timer or BG thread then maybe that's the issue.

I don't have second thread or timer taht invoke setExpanded. It's very very strange. I really don't know where can be the mistake.

– Amnysia Feb 3 at 10:00.

Try printing its (custom UITableViewCell) subviews and check if the image instance exists or not in the list, if exists try changing image for that instance.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions