Note that there are some explanatory texts on larger screens.

plurals
  1. USMatt
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COIf I understand the question, reloadData is not what you want. This will trigger complete recalculation of table rows, recreation/reuse of table cells... and in prepareForReuse you probably are or want to clear the imageView image, so it doesn't show up in the wrong cell.
      singulars
    2. COI'm sure that behavior is controlled by some mathematical function, and I'm confident that it could be reverse-engineered with some thoughtful testing, and it might even be documented somewhere... but I don't know the actual answer. The easiest way to get your code working the way you want/expect is a few trial and error tests... maybe if you put this logic in the control, add a numberOfBufferImages, or sizeOfBuffer property that adds enough images to fill that buffer size... then your trial and error will be testing various values of that property.
      singulars
    3. COThe question was unanswered, but the final solution was posted as a comment. Using a small number of image views, and adjusting their frames manually as scrolling occurs cuts down on the performance issues of just using one patterned image view. I'm not sure if you are saying you want to see "around" the background view, but that method would let you, as the background would be the fixed size of however many image views you use. If I were you, I would create a custom control that manages the position and number of the image views in order to keep the logic separate.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload