A display method, wherein the method comprises:
- detecting, by an electronic device, a first operation, wherein the first operation is used to request downloading an eSIM profile, wherein the eSIM profile comprises profile metadata, and the eSIM profile metadata comprises at least one of a first field, a second field, a third field, a fourth field, or a fifth field, and wherein the first field is used to indicate a network standard supported by the eSIM profile, the second field is used to indicate a card type supported by the eSIM profile, the third field is used to indicate account balance information of the eSIM profile, the fourth field is used to indicate information about a remaining data volume of an account data plan of the eSIM profile, and the fifth field is used to indicate a state of an account of the eSIM profile;
- in response to detecting the first operation, sending, by the electronic device, a profile download request to an operator network;
- receiving, by the electronic device, the eSIM profile from the operator network;
- detecting, by the electronic device, a second operation, wherein the second operation is used to open a first screen, wherein the first screen comprises at least one of a first option, a second option, a third option, a fourth option, or a fifth option, and wherein the first option is used to indicate the network standard supported by the eSIM profile, the second option is used to indicate the card type supported by the eSIM profile, the third option is used to indicate the account balance information of the eSIM profile, the fourth option is used to indicate the information about the remaining data volume of the account data plan of the eSIM profile, and the fifth option is used to indicate the state of the account of the eSIM profile;
- in response to detecting the second operation, displaying, by the electronic device, the first screen on a display based on the eSIM profile metadata before the eSIM profile is enabled;
- based on eSIM profile metadata comprising the first field and/or the second field, displaying, by the electronic device, a first prompt window on the display based on the electronic device detecting that the first field is used to indicate that the network standard supported by the eSIM profile is a first network standard and/or that the second field is used to indicate that the card type supported by the eSIM profile is a first card type, wherein the first prompt window comprises first prompt information, an enable option, and a cancel option, wherein the first prompt information is used to prompt a user whether to enable a profile supporting the first network standard and/or the first card type, the enable option is used for the user to enable the eSIM profile, and the cancel option is used for the user to skip enabling the eSIM profile;
- enabling, by the electronic device, the eSIM profile in response to an operation of tapping the enable option by the user;
- and
- hiding, by the electronic device, the first prompt window on the display in response to an operation of tapping the cancel option by the user.