motion-settings-bundle icon indicating copy to clipboard operation
motion-settings-bundle copied to clipboard

Question: How to jump to settings if unset

Open fiedl opened this issue 10 years ago • 3 comments

Hi @qrush, this works great!

Do you know how to make the app redirect to the settings bundle (or even nicer: show the settings bundle embedded) if the necessary settings are unset?

# something like ...
NSUserDefaults.standardUserDefaults["username"] || NSUserDefaults.showSettingsBundle()

Cheers! fiedl

fiedl avatar Sep 22 '15 11:09 fiedl

Hey @fiedl, thanks!

That would be cool. However I'm not using or maintaining this gem anymore. If you're willing to take it over and add those features I'd be happy to give you access to the gem ownership.

qrush avatar Sep 22 '15 15:09 qrush

UIApplication.sharedApplication.openURL(NSURL.URLWithString(UIApplicationOpenSettingsURLString))

https://developer.apple.com/documentation/uikit/uiapplicationopensettingsurlstring?language=objc

Lax avatar May 21 '19 09:05 Lax

@qrush Thanks for your perfect works. I'm using this gem in almost all the projects, and I'd be glad to add features or fix bugs. Can you give me access to this gem, my email [email protected]

Lax avatar May 21 '19 09:05 Lax