objective c - call a function written in iOS module from titanium -


in xcode viewproxy wrote code below:

-(void) hideselecteddate { nslog(@"[info] in hide selected date proxy"); [self performselectoronmainthread:@selector(hideselecteddate) withobject:nil waituntildone:no]; } 

when call titanium, "in hide selected date proxy" written in console, app crashes after it.

how can use :

[self performselectoronmainthread:@selector(hideselecteddate) withobject:nil waituntildone:no]; 

"hideselecteddate" trying call in in view


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -