Adding adaptation to iphone and ipads