问题
I want to set the tab stop in CoreText. I really need the code. The example is more good. Anyone can help me?
回答1:
First off, have you read the CoreText programming guide?
If so, take a look at the CTTextTab reference - specifically the CTTextTabCreate method. This should be more than enough to set you in the right direction. (We're not here to write your code for you.)
来源:https://stackoverflow.com/questions/4569190/how-to-set-tab-stop-in-coretext