In my watchchit app, when the user launches it for the first time, I would like to present them a helpful message warning Tells how the app works, like what buttons do, etc.
Is there anything similar to the UILERTV / UILAR Controller, which I can call in the Watchchit app? I will not get any reply on this subject which may mean that it is not possible.
(new 2.0 in clock)
WKAlertAction * act = [ WKAlertActionActionWithTitle: @ "OK" Style: WKAlertActionStyleCancel Handler: ^ (Zero) {NSLog (@ "Alert Yes"); }]; NSArray * test = @ [ACT]; [Title with self current alert controller: @ "Voila" message: @ "This is OS 2!" Favorite style: WKAlertControllerStyleAlert Actions: test];
SWIFT
func showPopup () {let's h0 = {print ("ok")} command 1 = wkAlertAction (title: "approval", style ("Cancel", style:. Cancel) {} presentAlertControllerWithTitle ("Voila"): (default: handler: h0) Action 2 = WKAlertAction (title: "Disclaimer", style: distractive) {} Take action 3 = WKAlertAction (title: "Cancel" Message: "", Preferred Style: Action Sheet, Actions: [Action 1, Action 2, Action 3])}
No comments:
Post a Comment