objective c - UITextField causing app to freeze on iOS 8 -


i working on application supports ios 7 , 8. application works fine on ios 7 when run on ios 8, freezes when press 1 of uitextfields.

i have read other answers talk not having uitextfield it's own delegate. here 1 of answers: application freezes after editing custom uitextfield

however test out have dragged new uitextfield application , not set delegate. have dragged out uibutton.

when click uibutton fine. when click uitextfield (the 1 no delegate set) application still freezes.

any appreciated.

firstly again leo helpful comment. seems whenever press uitextfield viewwilllayoutsubviews gets called.

here code application:

- (void)viewwilllayoutsubviews {     [super viewwilllayoutsubviews];     self.view.superview.bounds = cgrectmake(0.0, 0.0, 616.0, 703.0); } 

it seems in ios 8 can't call self.view.superview.bounds because causes infinite loop. see following answer details:

https://stackoverflow.com/a/25934574/2126233


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -