I changed the background color to black.
- (void)viewDidLoad {
[super viewDidLoad];
self.view.backgroundColor = [UIColor colorWithRed: (10.0/255) green: (10.0/255) blue: (10.0/255) alpha: 1.0];
}
but both in device or Emulator it shows a white strip in the end. How to get rid of this … please help

To this happen you probably are adding a subview that are white, or your view is with the wrong frame size, or your frame is with the wrong initial point.
Try this code to change the view frame to be equal to your device frame: