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
Post a Comment