Strange issues that I've spent the last 24 hours trying to fix.
I have an app which was working perfectly fine. I updated Xcode for iOS9 now one of 5 push segues wont perform the action. I can breakpoint within 'prepareForSegue
' and everything appears to run correctly, but soon as it exits the function the phone CPU maxes out and just sits there. The GUI doesn't do anything.
I've tried many things from creating a new viewcontroller
and using the same segue link and everything works. Its only this one viewcontroller I cannot perform a 'performSegueWithIdentifier
' to. I've commented ALL code from this viewcontroller
and still nothing. Theres nothing special about it compared to those that do work.
I'm totally stuck now, anyone have ideas?
Sorry if im being vague, please ask for any details I've failed to note here.
Thanks Dean
So after completely rebuilding the issue view controller i have identified the cause of the error. Very strange indeed, i have a UITextView on the View with default text of 'Notes...'......remove this and all works ok. Cant believe this is the cause but hey....Must be a bug in iOS9 where default text is placed in text view's via the storyboard.
Thought id place my findings incase someone else comes across similar problems
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With