Two Jobs and Two States

I live in FL full time, I work full timein FL.  I also have a remote job in NYC, I travel maybe 10 days a year to NYC.  Will NYC tax both of my jobs or just the income made in. NYC?