我的问题类似于this,但是区别是我不知道我将传递多少个参数,并且基于参数的数量,我不得不决定要显示哪个文本。
如何将键和值放在stringDict中,例如:
"When you see this message, %@ will be printed."
"When you see this message, %@ and %@ will be printed."
"When you see this message, %@, %@, and %@ will be printed."
"When you see this message, %@, %@, %@, and others will be printed."