How to launch myapplication settings tab in settings app from my application in ipad

后端 未结 4 1610
梦谈多话
梦谈多话 2021-01-15 15:08

Is there any way to open myapplication settings tab directly from my application like what we will use to open twitter settings

([[UIApplication sharedAppli         


        
4条回答
  •  时光取名叫无心
    2021-01-15 15:50

    Just show the composer. If no FB Account is available, it will show an AlertView to go to Settings. Works in iOS 8

    var controller = SLComposeViewController(forServiceType: SLServiceTypeFacebook)
    controller.setInitialText("My Post")
    self.presentViewController(controller, animated: true, completion: nil)
    

提交回复
热议问题