search

Home  >  Q&A  >  body text

objective-c - imageview cannot be displayed on the simulator or real device, but it can be seen when using debug view hierarchy. What's going on?

phpcn_u1582phpcn_u15822840 days ago790

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-02 09:35:26

    I found the answer myself. Just use [self.view layoutifneed] to refresh before displaying the imageview

    reply
    0
  • Cancelreply