2

This question has appeared at many places but not found the exact solution, i tried including apple provided code in viewWillAppear, viewDidLoad, setNeedsUpdateConstraints but nothing is useful not even with updated beta 6 version below is the code

CGFloat _expandedHeight = 500;
NSLayoutConstraint *_heightConstraint = 
    [NSLayoutConstraint constraintWithItem: self.view 
                                 attribute: NSLayoutAttributeHeight 
                                 relatedBy: NSLayoutRelationEqual 
                                    toItem: nil 
                                 attribute: NSLayoutAttributeNotAnAttribute 
                                multiplier: 0.0 
                                  constant: _expandedHeight];
[self.view addConstraint: _heightConstraint];

where exactly i should place the above block of code?

Couldn't attach the present view of keyboard due to low reputation

Justin K
  • 41
  • 3
  • **http://stackoverflow.com/questions/25423323/ios-8-keyboard-height-and-key-effects** i also face same problem – Ikambad Sep 18 '14 at 06:28
  • Perhaps answers to this question will help: https://stackoverflow.com/questions/24167909/ios-8-custom-keyboard-changing-the-height – ljk321 Jan 24 '15 at 04:37

0 Answers0