iOS Refactor and Clean up
This commit is contained in:
parent
04383b7179
commit
4fb9862022
@ -21,7 +21,9 @@ public class SwiftFlutterSmsPlugin: NSObject, FlutterPlugin, UINavigationControl
|
|||||||
controller.recipients = _arguments["recipients"] as? [String]
|
controller.recipients = _arguments["recipients"] as? [String]
|
||||||
controller.messageComposeDelegate = self
|
controller.messageComposeDelegate = self
|
||||||
UIApplication.shared.keyWindow?.rootViewController?.present(controller, animated: true, completion: nil)
|
UIApplication.shared.keyWindow?.rootViewController?.present(controller, animated: true, completion: nil)
|
||||||
|
result(message)
|
||||||
default:
|
default:
|
||||||
|
result(FlutterMethodNotImplemented)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user