i've created custom view react-native app, c++ dsp application , runs on timer. view initialised on startup using it's init
method. in order save cpu cycles need know when view visible or not.
if using ios uiviewcontroller employ viewdidappear
or viewwillappear
send message c++ code start timer, , viewdiddisappear
tell stop.
i'm looking clean way same within rctviewmanager.
Comments
Post a Comment