Not that you claimed anything else but: A bit less than half of all households in Germany have a dryer[1], air drying is very common. Your landlord cannot prevent you from drying clothes within your flat, any terms to that end in your lease are void ([2], IANAL).
[1] https://www.destatis.de/DE/Themen/Gesellschaft-Umwelt/Einkom... still more than I expected