Good User Interface / User eXperience practices are important. Hours of resources and research is dedicated to these subjects but sometimes the developer discovers an anomaly that has been missed in the planning.
I came across this situation recently and contacted the relevant people to explain. They agreed with my suggestion and I implemented the change.
Part of my development cycle is to test, test, and test again. And I tested my new code and all plausible possible situations. Tested for various targets. Tested on as many devices as possible. Released to UAT to test and got a code review from my line mentor.
After all this the release build had a bug. In a nutshell when working with threading, be aware that there is a subtle difference between devices iPhone4 and iPhone4S.
When creating an email on the device, if the process requires threading, do not create and display the
I came across this situation recently and contacted the relevant people to explain. They agreed with my suggestion and I implemented the change.
Part of my development cycle is to test, test, and test again. And I tested my new code and all plausible possible situations. Tested for various targets. Tested on as many devices as possible. Released to UAT to test and got a code review from my line mentor.
After all this the release build had a bug. In a nutshell when working with threading, be aware that there is a subtle difference between devices iPhone4 and iPhone4S.
When creating an email on the device, if the process requires threading, do not create and display the
MFMailComposeViewController object from within the thread.
In the simulator set to all iOS versions, and on device iPhone4s, this operates as expected. On an iPhone4 running the same iOS version, the titles from the two buttons are blank. 'Cancel' and 'Send' are missing. They do arrive if you wait long enough. Also, curiously if the device is turned and the orientation kicks in, they also display too.
Solution:
Do what you have to do in your thread but make sure you call the email screen in the main thread.

Comments