【问题标题】:How do I get information about the music being played using Nativescript?如何获取有关使用 Nativescript 播放的音乐的信息?
【发布时间】:2015-08-30 11:51:25
【问题描述】:

真的有这种可能吗?

【问题讨论】:

  • 应该是可以的。由于 nativescript 只是一个框架,对此的确切答案应该取决于开发人员如何进行实际实现。

标签: javascript android ios nativescript


【解决方案1】:

是的

作为you can access the full API of the underlying system (iOS/Android) from NativeScript,您可以创建一个API request to iOS for the current music being played

旁注:这是 NativeScript 的一大优势。即使框架中没有内置某些内容,您仍然可以访问它。这是an example of how to modify the iOS Navigation Bar,通过访问 iOS API。

【讨论】:

    猜你喜欢
    • 2013-06-06
    • 2012-05-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多