objective c - iOS UI query on background thread -
i doing processing on background thread. processing needs access ui element information (like position of uiview). research, appears background thread should allowed "query" attributes of uiview -- long not "change" attributes.
i feel better if substantiate claim. small code snippet below.
// on background thread uiview *view = [self.view viewwithtag:tag]; cgfloat xposition = view.frame.origin.x;
Comments
Post a Comment