KFLayerView to Swfit again because return value of hitTest() has been changed correctly from UIView! to UIView? in xcode6 beta6
Fixed the bug of image uploading failed