Each cell of my TableView contains UIImage, I made an action to change all images in UIImage in each cell, then reload the table.
The images didn't change until I scroll the table.
I know the TableView is loading cell during scrolling.
But is there a way to fix my issue?
Each cell of my TableView contains UIImage, I made an action to change all images in UIImage in each cell, then reload the table.
The images didn't change until I scroll the table.
I know the TableView is loading cell during scrolling.
But is there a way to fix my issue?
Thanks
Without posting your code, it's hard to tell, but you are definitely calling reloadData() on your UITableView... correct?
If yes, then put a breakpoint on your willDisplayCell() delegate function and make sure it's getting called. If it is, step through the function and make sure the images you expect to change are actually getting changed.
__________________
Highlight PDF text like no other app: iHighlight (now available for iPad and iPhone!)
-----
Create iPhone lists with no typing: Insta-List
-----
Make spelling fun, and create your own tests: iWillSpell
-----
A fast, elegant flashlight app: Insta-Light
-----
Without posting your code, it's hard to tell, but you are definitely calling reloadData() on your UITableView... correct?
If yes, then put a breakpoint on your willDisplayCell() delegate function and make sure it's getting called. If it is, step through the function and make sure the images you expect to change are actually getting changed.
Yes, reloadData in my TableView.
willDisplayCell and cellForRowAtIndexPath are called.
The images are changed but I have to scroll the table to apply the changes.
Yes, reloadData in my TableView.
willDisplayCell and cellForRowAtIndexPath are called.
The images are changed but I have to scroll the table to apply the changes.
Then there's something funny going on in your code. Post it so we can have a look.
__________________
Highlight PDF text like no other app: iHighlight (now available for iPad and iPhone!)
-----
Create iPhone lists with no typing: Insta-List
-----
Make spelling fun, and create your own tests: iWillSpell
-----
A fast, elegant flashlight app: Insta-Light
-----
The problem is a little complicated and long code, contains multiple arrays and views.
Then you're going to have to debug it all by yourself. The question you're asking is like me saying to you: "My car isn't working. What's wrong with it?"
__________________
Highlight PDF text like no other app: iHighlight (now available for iPad and iPhone!)
-----
Create iPhone lists with no typing: Insta-List
-----
Make spelling fun, and create your own tests: iWillSpell
-----
A fast, elegant flashlight app: Insta-Light
-----