An inhaler, including a base having at least one air-tight, foil-sealed cavity containing medicament is disclosed. An actuator is engagable with a separating element attached to the foil, the actuator having an energized position in which it is biased towards an unloaded position so as to cause the separating element and attached foil to be moved away from the cavity. A latch has a first position, in which it latches the actuator in said energized position, wherein the latch is at least partly arranged in a flow path such that an inhalation flow through the flow path affects the latch to move from the first position to the second position. A method of dispensing a medicament from a sealed cavity inside an inhaler is also disclosed.