CodePudding user response:
Private UILable lable.
Void UpdateLable (int index) {
The switch (index) {
Case 0://the first figure
Lable. Text="1 picture to show the contents of the";
break;
Case 1://second picture
Lable. Text="2 picture to show the contents of the";
break;
Case 2://the third picture
Lable. Text="3 picture to show the contents of the";
break;
}
}
And then, you need to do is to put the button 0 on the corresponding line,