typedef struct _StructWithCArray {
char a[3];
char b;
} StructWithCArray;
I represent the a[3]
as a struct
contain three char
, but it will fail on iOS i386 simulator.
Anyone has any ideas how to handle this?
Here is a demo to show the bug. You should use a simulator not newer than iPhone 5
to run the BugReport
project, and simulator newer than iPhone 5
seems has no problem in this case.