The New York City law is just one striking way cities are fighting back against short-term rentals. Supporters of the rule argued it would free up apartments for New Yorkers, who pay high rent prices and are facing housing shortages and insecurity. But others, including small-time landlords, said it would take away a source of flexible extra income without making a dent in the housing supply crisis.