How to get data from Objective-C and pass to titanium appcelerator

| | August 8, 2015

Objective-C viewController

[self fireEvent:cardArray[colorIndex] withObject:@"event"];

titanium

function findData(e)
{
    $.test.addEventListener("event", function(e){
    console_log("Got event", e);
});
}

I tried the above code, but didn’t show any result.

Leave a Reply