我正在开发应用程序与最低SDK版本14冰淇淋sandwitch和目标版本是Android Marshmallow.
我是否需要使用AppCompatSpinner或普通微调器才能在具有所有材质外观的ICS设备上工作?
android spinner android-appcompat android-spinner android-support-library
我正在使我的应用程序可访问性兼容.通过在xml中提供android:contentDescription ="your string",为可访问性框架提供正确的数据.
此外,我还看到了关于使应用程序可访问的Android开发人员指南,以概述您需要采取哪些步骤来确保您的应用程序与可访问性服务正常工作.
现在问题是在每个屏幕上测试这些都需要更多时间.我的应用程序有30个屏幕,每次去任何模块将需要大约15-20分钟,当回访开启时.
谁能建议工具/更好的方法来测试应用程序?
从udacity课程我尝试下面的代码
let password = "Meet me in St. Louis"
let newPassword = password.replacingOccurrences(of: "e", with: "3")
Run Code Online (Sandbox Code Playgroud)
这是给予
Playground execution failed: Introduction.xcplaygroundpage:31:19: error: value of type 'String' has no member 'replacingOccurrences'
let newPassword = password.replacingOccurrences(of: "e", with: "3")
^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
Run Code Online (Sandbox Code Playgroud)
我必须使用
let password = "Meet me in St. Louis"
let newPassword = password.stringByReplacingOccurrencesOfString("me", withString: "ss")
Run Code Online (Sandbox Code Playgroud)
任何线索为什么会出现这个错误?我使用的是swift 2.2版