I want to detect movement of an object in iOS camera. Actually I am working on a project where the iOS camera is placed some where and when it detects any movement on the camera screen then it gives notification or fire any particular event.
Please suggest if how can I achieve the same.
@Leena in this method i clear my previousviewcontrolles view content.. - (void)pageViewController:(UIPageViewController *)pageViewController didFinishAnimating:(BOOL)finished previousViewControllers:(NSArray *)previousViewControllers transitionCompleted:(BOOL)completed
@all.. I tried subviewing a UIview to UIwindow but its not at all appearing. But when I use [self.window addSubview:self.viewController], it is working, but not with self.window.rootViewController = self.viewController