ios - Alert Message with links to navigate to different scenes in an Swift application -


i need develop alert message links navigate different scenes in swift application.

please suggest me techniques or sample codes

thanks

you implement alert so:

let alertcontroller = uialertcontroller(title: "hi", message: "...", preferredstyle: .alert)  let cancelaction = uialertaction(title: "cancel", style: .cancel) { (action) in     self.performseguewithidentifier("seguetitle", sender: self) } alertcontroller.addaction(cancelaction)  let okaction = uialertaction(title: "ok", style: .default) { (action) in     self.performseguewithidentifier("seguetitle", sender: self) } alertcontroller.addaction(okaction)  self.presentviewcontroller(alertcontroller, animated: true) {     // ... } 

Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -