ios - UIWebView content is initially small, then expands after rotation. Why? -
environment: ios 6.1 xcode: 4.6.3
problem: uiwebview content (upon initial load) small.
rotating device (to/from orientation) expands (and keeps) content normal size.
why?
how can force load with same scale after rotates (to position)?
setting uiwebview's shouldscalepagestofit
property no prevent trying rendering page small.
-(bool)shouldautorotate { [webview setscalespagetofit:no]; return yes; }
i'm unable replicate problem have simple single-view application. suggest check app changes above named property.
Comments
Post a Comment