How to view a sliders value in bundle settings , iOS?(如何在捆绑设置中查看滑块值,iOS?)
问题描述
我在我的应用程序的捆绑设置中使用滑块让用户选择 1 - 1000 米之间的距离.
I am using a slider in the bundle settings of my app to make the user choose a distance between 1 - 1000 meters.
滑块工作正常,但我想向用户展示滑块的实际值.
The slider is working fine , but i would like to show the user the actual value of the slider.
这可能吗?
推荐答案
我认为用滑块来做到这一点是不可行的.您可以使用 PSMultiValueSpecifier,一个多值元素",它有 4 个部分,一个用于 4 位数字的每个数字.然后可以同时设置和显示.
I think there is no viable possibility to do this with a slider. You could use a PSMultiValueSpecifier, a "Multi Value Element" instead, with 4 sections, one for each digit of your 4-digit number. It could then be set and displayed at the same time.
这篇关于如何在捆绑设置中查看滑块值,iOS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在捆绑设置中查看滑块值,iOS?
基础教程推荐
- AdMob 广告未在模拟器中显示 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
