Infinite loop in init of Classes/ELCImagePicker/ELCImagePickerController.m in iOS 5.1 #69

fotoguy42 opened this Issue Nov 26, 2013 · 1 comment


None yet
2 participants

An init was added during the ARC conversion to Classes/ELCImagePicker/ELCImagePickerController.m.
In init, it messages [super initWithRootViewController], in 5.1, super calls init, causing the infinite loop.

In 6.1, it seems to call initWithNibName instead.

Not sure how to fix as just reverting the code will break the updated demo code


jvanmetre commented Dec 16, 2013

I went ahead and renamed that init to initImagePicker, which should avoid the infinite loop in 5.x. a408066

@jvanmetre jvanmetre closed this Dec 16, 2013

iwill added a commit to iwill/ELCImagePickerController that referenced this issue Jan 28, 2016

reverse commit
GravatarCommit: a408066 [a408066]
Parents: ef67cf0
Author: James Van Metre <>
Date: 2013年12月17日 GMT+8上午02:08:00

Fix for infinite loop sequence when running under iOS 5.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment