c# - No overload for method `HideToast' takes `0' arguments -
my question parameter put in when using nstimer? tried hasn't worked.
v.alltouchevents += delegate { hidetoast();}; nstimer.createscheduledtimer (thesettings.durationseconds, hidetoast); void hidetoast (nstimer tr) { uiview.beginanimations (""); view.alpha = 0; uiview.commitanimations (); }
the error is: no overload method 'hidetoast' takes '0' arguments
you can assign event
v.alltouchevents += hidetoast;
i hope i've got point.
edit
if hidetoast signature diffrent alltouchevents need after typing v.alltouchevents +=
press tab , let create proper method (event handler )for you. in case creates method
private v_alltouchevents(object sender, system.eventargs e) { ... }
inside generated method should put desired code.
good luck.
Comments
Post a Comment