watchkit - WKInterfaceTable's didSelectRowAtIndex never gets called in WKInterfaceController -


i have wkinterfacecontroller , added table following:

// .h  @interface interfacecontroller : wkinterfacecontroller @property (weak, nonatomic) iboutlet wkinterfacetable *table; @end  // .m - (void)table:(wkinterfacetable *)table didselectrowatindexpath:(nsindexpath *)indexpath{     nslog(@"did select"); }  - (void)table:(wkinterfacetable *)table didselectrowatindex:(nsinteger)rowindex{     nslog(@"did select new"); } 

however neither of 2 methods gets called. unable find protocol declaration wkinterfacetable , neither delegate property on table.

is there missing here?

i found out method never called because had set segue triggered on selection of row on interface builder.

it seems that having no delegation , table protocols once set delegate stops didselectrow method being called.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -