title: iOS 8 Custom keyboard UIScrollview isn't working
body: <p>I have tried to add UISchollView in custom keyboard view but it shows view but not scrolling.
  here is my code. i have also tried self.view but its not working either.</p>
  
  <pre><code>UIScrollView *scrollview1 = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, 320, 216)];
      NSInteger viewcount= 8;
      for (int i = 0; i &lt;viewcount; i++)
      {
          CGFloat y = i * 50;
          UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, y,50, 50)];
          view.backgroundColor = (i%2==0)?[UIColor greenColor]:[UIColor blueColor];
          [scrollview1 addSubview:view];
      }
      scrollview1.contentSize = CGSizeMake(self.view.frame.size.width, self.view.frame.size.height *viewcount);
      scrollview1.backgroundColor = [UIColor redColor];
      scrollview1.pagingEnabled=YES;
      [self.inputView addSubview:scrollview1];
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/i0Hbl.png" alt="enter image description here"></p>