Ss pin for arduino nano 33 iot

Specifics of the 33 IOT changes please... which pin for SS, and the section of code where you specify it. Please post that and also details of the SS wire connection.

It could be a pin naming thing, did you try

  #define TFT_CS        D10