如何从iOS设置包启动URL ?

时间:2023-01-07 07:31:37

I would like to launch a URL from the iOS Settings Bundle that would at least launch Safari when they Touched the setting.

我想从iOS设置包中启动一个URL,至少在用户触摸设置时启动Safari。

Not sure if this is possible I couldn't find any examples of this in the Settings area with Apple or 3rd party apps. If it is not I would appreciate confirmation for this.

我不确定这是否可能,我在苹果或第三方应用程序的设置区域找不到这样的例子。如果不是的话,我将非常感谢您的确认。

4 个解决方案

#1


1  

You can't. Current Settings.bundle is able to only display or change values. Better check Apple docs Settings Application Schema Reference and the few available element types. Sorry.

你不能。当前的设置。bundle只能显示或更改值。更好地检查Apple docs设置应用程序模式引用和一些可用的元素类型。对不起。

#2


2  

The Twitter Preferences show up with a link "Learn More about Twitter" to navigate to twitter.com (Safari). I could not figure out how they did it but it seems to be possible.

Twitter首选项显示了一个链接“了解更多关于Twitter的信息”,用于导航到twitter.com (Safari)。我不知道他们是怎么做到的,但这似乎是可能的。

#3


1  

I was searching for the same UI experience "a button in the settings page" to allow the user to reset some settings, I found this http://inappsettingskit.com/ .

我搜索了相同的UI体验“设置页面中的一个按钮”以允许用户重置一些设置,我找到了http://inappsettingskit.com/。

As others said it's not possible to do in apples Settings.app, so the solution in to implement an in-app settings page, this open source project seems to make it easy. I'll update after I implement.

就像其他人说的那样,在苹果的环境中是不可能做到的。应用,所以解决方案在实现应用内设置页面,这个开源项目似乎使它很容易。我将在实现后更新。

(I have no connection to this project)

(我和这个项目没有关系)

#4


0  

I am not sure if that is possible. This previous SO question Display iphone application settings within your application says something about using them within the app. See if it helps. Another SO question that can be of use Programmatically opening the settings app (iPhone)

我不确定这是否可能。之前的问题是,在你的应用程序中显示iphone应用程序设置说明了如何在应用程序中使用它们。另一个可以编程打开设置应用(iPhone)的问题

#1


1  

You can't. Current Settings.bundle is able to only display or change values. Better check Apple docs Settings Application Schema Reference and the few available element types. Sorry.

你不能。当前的设置。bundle只能显示或更改值。更好地检查Apple docs设置应用程序模式引用和一些可用的元素类型。对不起。

#2


2  

The Twitter Preferences show up with a link "Learn More about Twitter" to navigate to twitter.com (Safari). I could not figure out how they did it but it seems to be possible.

Twitter首选项显示了一个链接“了解更多关于Twitter的信息”,用于导航到twitter.com (Safari)。我不知道他们是怎么做到的,但这似乎是可能的。

#3


1  

I was searching for the same UI experience "a button in the settings page" to allow the user to reset some settings, I found this http://inappsettingskit.com/ .

我搜索了相同的UI体验“设置页面中的一个按钮”以允许用户重置一些设置,我找到了http://inappsettingskit.com/。

As others said it's not possible to do in apples Settings.app, so the solution in to implement an in-app settings page, this open source project seems to make it easy. I'll update after I implement.

就像其他人说的那样,在苹果的环境中是不可能做到的。应用,所以解决方案在实现应用内设置页面,这个开源项目似乎使它很容易。我将在实现后更新。

(I have no connection to this project)

(我和这个项目没有关系)

#4


0  

I am not sure if that is possible. This previous SO question Display iphone application settings within your application says something about using them within the app. See if it helps. Another SO question that can be of use Programmatically opening the settings app (iPhone)

我不确定这是否可能。之前的问题是,在你的应用程序中显示iphone应用程序设置说明了如何在应用程序中使用它们。另一个可以编程打开设置应用(iPhone)的问题