Fixed gui adapter for IOS7 and iphone5 or later.