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

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -