This is a demo iOS app that shows how to run JavaScript function from Objective-C. If you are reading this you might also be interested in JS evaluator for Android library.
importClass("UIView") UIView.prototype.setHeader = function(){
}
UITableView.extends.scrollToRowAtIndexPathAtScrollPositionAnimated = function(indexPath, position, animated){ __native__c(this, "scrollToRowAtIndexPath: atScrollPosition: animated:", indexPath, position, animated); }
scrollToRowAtIndexPath: atScrollPosition: animated: