UIImage view is not showing in iOS 11…How to solve

2019-09-20 02:42发布

I have an existing project in iOS, it was working fine with till iOS 10, After updating X-Code 9 , and run the project iOS 10 it is fine but in iOS 11 the UIImageview is not showing ..

I have already tried so many ways like clean derived data, reset clean build with quit x-code and restart system, remove and add image(png file), but noting happen.

Even i have added the background colour but the colour is also not showing in the device and simulator but it is in the storyboard .

one more thing ,,, the background image on UIButton is showing but on the image it is not displaying.

Is any one find solution ?

1条回答
女痞
2楼-- · 2019-09-20 02:50

Kindly Debug through View hierarchy and Check Image Alpha Value. Remove This line of code from your project if not necessary -

[super setAlpha:0];

查看更多
登录 后发表回答