Due to the capability of providing flexible network coverage, unmanned aerial vehicles (UAVs) are a promising solution to support the Internet‐of‐Things (IoT) applications, especially for the area without terrestrial network coverage. In this paper, a UAV‐assisted IoT network is considered, where a UAV serves as an aerial base station to serve ground IoT devices. To support the massive access, grant‐free non‐orthogonal communications are also adopted, where packets generated by IoT devices can skip the handshake process and share a channel with other packets for transmission. With the aim to maintain the information freshness, the age of information (AoI) for the network is first derived, and an AoI minimization problem is formulated as a Stackelberg game where the UAV is the leader and ground IoT devices are followers. However, solving such a problem is challenging as the number of involved followers is large. To simplify the problem, a mean‐field game based approach is proposed, where the average behaviours of followers are considered instead of individual strategies. Simulation results show that the computational complexity of the proposed scheme is almost unchanged with the number of IoT devices while the performance is close to the optimal one.