drawTextInRect on UITextField not called

前端 未结 5 2007
不知归路
不知归路 2020-12-06 06:56

I\'m trying to implement the answer to this SO question. The problem is: -[drawTextInRect] is apparently not called, and setting the shadow in -[drawRect]

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-06 07:18

    I note that -[drawTextInRect] is called once when the UITextField loses focus. Not what I wanted.

提交回复
热议问题