开发者

How code in program for display same image view whatever orientation?

开发者 https://www.devze.com 2023-03-16 20:42 出处:网络
I want to show same image view whatever u have mode either portrait or LAndsacpe mode.5n my case when i change my UIView then image frame in scroll layout frame don\'t show same image it开发者_如何学G

I want to show same image view whatever u have mode either portrait or LAndsacpe mode.5n my case when i change my UIView then image frame in scroll layout frame don't show same image it开发者_如何学Go start from image no.1 but i required same image no. when i change orientation. So for that what will i do ?


It sounds like you're having problems with scroll views when the orientation changes? Have a look at this answer I posted a while ago (example code included).

0

精彩评论

暂无评论...
验证码 换一张
取 消