iPhone App Phone Call Situation -


when phone call occurs, app moves down, , bottom of app cut off slightly. there anyway shrink or resize whole view when call occurs.

preferably through interface builder.

indeed, application window shrink subview. example, if have status bar frame of root view (0,20,320,460), if in-call status bar on, frame becomes (0,40,320,440).

then why bottom of app seem cut off? it's because root view autoresizes content in way. example, autoresizingmask property says has fixed top margin , fixed content height. so,

  • if want 'squeeze' view, try fixing both top , bottom margins , having flexible content heights.
  • if want in-call status bar if goes on app, fix content heights , bottom margin, , have flexible top margin.
  • if have fixed top margin , fixed content height, app seem slide down.

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -