hi... i am new in NimbleKit.I use the following code to call a objective c method from javascript using NimbleKit
NKRegisterClass("MyObjectiveCClassName");
function removeCarouselView()
{
CallNKitAction("methodName?className=MyObjectiveCClassNam");
}
removeCarouselView();
the method is as follows..
- (IBAction)methodName
{
NSLog(@"Hello....");
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.6f];
[UIView setAnimationDelegate:self];
carouselView.alpha = 0.0f;
//self.view.alpha=0.0f;
[UIView commitAnimations];
}
all is ok.....the function is called.....but it can't affect the carouselView(UIImageView)...not only imageview no view can be accessed...but the animation did execute perfectly.....i don't know why....plz help me...