1. remove iOS 6 deployment target due to Xcode 6 beta 4 compiler check requirement.
2. add version check for iOS 8 and non-iOS 8 style alertview