I have a custom uitableviewcell
and subclassed
, and it is containing a uitextfield
and delegate
is also set, now when return key
on keyboard is pressed I want to try few things
- perform a segue(but issue is I am in uitableviewcell subclass).
- modally present another view controller(but issue is uitableviewcell do not allow this).
- I want to display uiactionsheet(but again limitation is uitableviewcell).
If i get rootviewcontroller reference then rootviewcontroller's view itself not displayed or not the active view so any thing you do will not present on screen, active view is required.