您已将大量内容放入
subheader
而不是
message
async showRules() {
const alert = await this.alertController.create({
header: 'Rules',
message: `Brain Builder is up to date with the most recent research regarding IQ enhancement.
As the most recent research suggest, Brain Builder will increase the number of stimulus first (position, audio, color, etc.).
Once all stimuli have been mastered, the n-back will be increased.A blue square will be shown every three seconds, press the button âPositionâ when you find that the actual position of the blue square matches with that of the previous one.
The position of the square is accompanied with the pronunciation of a number and the very same rule applies for the sound.
`,
buttons: ['OK'],
backdropDismiss: false
});
await alert.present();
}
副标题只是副标题,可能不可滚动。文档
here