iOS-Custom-AlertView-Swift icon indicating copy to clipboard operation
iOS-Custom-AlertView-Swift copied to clipboard

Compilation errors.

Open Allamaprabhu7 opened this issue 10 years ago • 2 comments

There are bunch of compilation errors with iOS8 SDK.It would be great if you can fix these.

Allamaprabhu7 avatar Sep 23 '15 09:09 Allamaprabhu7

My App is crashing when i try to call these methods....Please fix these issue...Thanks in advance

NotificationCenter.default.addObserver(self, selector: Selector(("deviceOrientationDidChange")), name: NSNotification.Name.UIDeviceOrientationDidChange, object: nil) NotificationCenter.default.addObserver(self, selector: Selector(("keyboardWillShow")), name:NSNotification.Name.UIKeyboardWillShow, object: nil) NotificationCenter.default.addObserver(self, selector: Selector(("keyboardWillHide")), name:NSNotification.Name.UIKeyboardWillHide, object: nil)

naveen488 avatar Feb 19 '18 05:02 naveen488

// Observe orientation and keyboard changes private func setObservers() { NotificationCenter.default.addObserver(self, selector:#selector(deviceOrientationDidChange(notification:)) , name: UIDevice.orientationDidChangeNotification, object: nil) NotificationCenter.default.addObserver(self, selector:#selector(keyboardWillShow(notification:)), name:UIResponder.keyboardWillShowNotification, object: nil) NotificationCenter.default.addObserver(self, selector:#selector(keyboardWillHide(notification:)), name:UIResponder.keyboardWillHideNotification, object: nil) }

pratyushpratiksinha avatar Nov 07 '19 07:11 pratyushpratiksinha