add some iOS 6 support , and abandoned