I want to apply a filter on the UIImage I get from the library, the library provides filters to optimize the image. These optimization is programmed as a so called category in objective-c. A category you can compare like extension methods for existing types. The allows you to call methods on UIImage which are not part of the iOS SDK. To use this functionality in iOS natively you have to import the header of this category e.g. (#import “UIImage+MyCategoryExtension.h”)
So this is the basic question, is it possible to add an import statement in nativescript or how can I import a category class. Because when I call a method from the Category it cannot be found on runtime.