If you're talking about the cost of electricity, check the wattage of each appliance. Check the manufacturerer's label on each appliance to find out how many watts it uses.
Let's say the dryer uses 1000 watts and the iron uses 250 watts. An hour of ironing is 250 watts x 1 hour = 250 watt-hours. Twenty minutes (1/3 of an hour) of drying is 1000 watts x 1/3 hour = 333 watt-hours. So the ironing uses less electricity.
Substitute your own numbers and do the calculation, and then you'll know.
Let's say the dryer uses 1000 watts and the iron uses 250 watts. An hour of ironing is 250 watts x 1 hour = 250 watt-hours. Twenty minutes (1/3 of an hour) of drying is 1000 watts x 1/3 hour = 333 watt-hours. So the ironing uses less electricity.
Substitute your own numbers and do the calculation, and then you'll know.