![](/img/trans.png)
[英][__NSCFType set]: unrecognized selector with NSAttributedString:draw() gets called, based on width of position
如果運行下面的代碼,它會導致異常 'NSInvalidArgumentException',原因:'-[__NSCFType set]:無法識別的選擇器發送到實例 0x283130be0' 但是,可以通過將positionRect中的寬度值從 100.0 減小來移除異常,例如將其設置為 50.0 之 ...