ios - How to open Settings programmatically like in Facebook app? -


i need open settings programmatically within app. searched across everywhere people it's impossible. today saw it's implemented in facebook app. there's button on uialertview , when click open settings. indeed possible open settings, have witnessed myself. how that? know how facebook that?

you can't, there no api call this.

only system dialogs, dialogs apple frameworks, can open settings app. in ios 5 there app url scheme open system dialog apple removed later.


with coming of ios 8 can open settings dialog on apps page.

if (&uiapplicationopensettingsurlstring != null) {    nsurl *url = [nsurl urlwithstring:uiapplicationopensettingsurlstring];     [[uiapplication sharedapplication] openurl:url]; } else {   // present dialog telling user open settings app. } 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -