Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
|
|
@ -0,0 +1,18 @@
|
|||
import UIKit
|
||||
|
||||
final class LocationServicesDisabledAlert: MWMAlert {
|
||||
|
||||
@objc
|
||||
class func alert() -> LocationServicesDisabledAlert? {
|
||||
guard let alert = Bundle.main.loadNibNamed("LocationServicesDisabledAlert", owner: nil)?.first as? LocationServicesDisabledAlert else {
|
||||
assertionFailure("Error: LocationServicesDisabledAlert failed lo load from nib.")
|
||||
return nil
|
||||
}
|
||||
alert.setNeedsCloseAfterEnterBackground()
|
||||
return alert
|
||||
}
|
||||
|
||||
@IBAction func okButtonDidTap(_ sender: Any) {
|
||||
close(nil)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue