The present invention relates to a crystal form of a substituted aminopyran compound, and a pharmaceutical composition, a preparation method and a use thereof in the preparation of a drug for treating type II diabetes. In particular, the present invention relates to a crystal form IV of a compound as shown by formula (I) and a pharmaceutical composition, a preparation method and a use thereof in the preparation of a drug for treating type II diabetes.