使用分段控件作为准单选按钮
我使用此分段控件作为用户选择选项而不是控制任何子视图的机制。
恕我直言,这看起来更好,并且比选择选择器更有用,对于像我需要的这样的小选择,选择选择器在屏幕上会非常重。
这种方法有什么错误/低效/不道德/非法吗?苹果会关心这个吗?
I use this segmented control as a mechanism for the user to select an option rather than control any subviews.
IMHO this looks better and is more usable that a select picker which would be very heavy on the screen for a small selection like the one i need.
Anything wrong / inefficient / immoral / illegitimate about this approach ? Would apple care about this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有这样的故事:苹果在一个案例中批准了某种方法,而在另一个案例中则拒绝了它。
不过,我不认为你在这里做了什么令人讨厌的事情。有些应用程序的 iOS UI 方案已经被滥用得令人难以置信,但它们仍然进入了商店。实际上,我以非常相似的方式(出于类似的原因)使用了分段控件,并且该应用程序已获得批准,所以......
There's stories about apple approving a certain approach in one case and rejecting it in another.
I don't think you're doing something nasty here, however. There are apps out there where the iOS UI scheme has been abused beyond belief and they still made it into the store. Actually I've used a segmented control in a very similar way (for similar reasons) and the app has been approved, so...
这完全是普通的事。如果一切正常的话苹果不会说什么。因此,如果您的问题是:“这样可以吗?”那么答案是“是的,绝对”
this is completely ordinary. Apple wouldn't say anything if everything is working properly. So if your question is: "is this all right?" then the answer is "yes, absolutely"