@Luiz D'Aniello
did you see the issue on the Creo simulator on the Mac or when running the App in a real iOS device?
where did you write the self.selected=true;
code?
We saw two different situations:
- there is a bug in how the Creo simulator is showing the image for the state
selected
(the image is shown as is, instead of the way the real iOS use it as described in the following point) - the image for the state
selected
is used in a peculiar way on the latest iOSes, in particular for buttons with System
style it is used as a mask to "cut" the content of the button and show the content below it, but this effect is only visible if the button has a background color or a background image. If you set the button style to Custom
the images (and also the titles) for any state are rendered in the original form, not as a tinted mask.
We are working to fix the visualization of the selected
state on the Creo Simulator.
Meanwhile, you can see the right behavior by running your App in the CreoPlayer; if the button is not working as expected on the CreoPlayer it means that the configuration should be fixed.