adaptation iOS5