Open pivarshavinod opened 5 years ago
UIDevice.current.beginGeneratingDeviceOrientationNotifications() NotificationCenter.default.addObserver(self, selector: #selector(WWCalendarTimeSelector.didRotateOrNot), name: NSNotification.Name, UIDevice.orientationDidChangeNotification, object: nil)
there is an error popping up showing : Ambiguous reference to member 'addObserver(_:selector:name:object:)'
Its in the WWCalendarTimeSelector.swift page
UIDevice.current.beginGeneratingDeviceOrientationNotifications() NotificationCenter.default.addObserver(self, selector: #selector(WWCalendarTimeSelector.didRotateOrNot), name: NSNotification.Name, UIDevice.orientationDidChangeNotification, object: nil)
there is an error popping up showing : Ambiguous reference to member 'addObserver(_:selector:name:object:)'
Its in the WWCalendarTimeSelector.swift page