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