Program a preferences window in iOS using Xcode [closed]












-3















I'm new to programming and I want to add a window or pop-up where users can change different settings in my app, like vibration intensity and sounds. I'm currently working within a single view app. Does anyone have any advice to share?










share|improve this question













closed as too broad by Paulw11, Larry Shatzer, Roman Pokrovskij, JSDBroughton, Roland Weisleder Jan 2 at 18:09


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.























    -3















    I'm new to programming and I want to add a window or pop-up where users can change different settings in my app, like vibration intensity and sounds. I'm currently working within a single view app. Does anyone have any advice to share?










    share|improve this question













    closed as too broad by Paulw11, Larry Shatzer, Roman Pokrovskij, JSDBroughton, Roland Weisleder Jan 2 at 18:09


    Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.





















      -3












      -3








      -3








      I'm new to programming and I want to add a window or pop-up where users can change different settings in my app, like vibration intensity and sounds. I'm currently working within a single view app. Does anyone have any advice to share?










      share|improve this question














      I'm new to programming and I want to add a window or pop-up where users can change different settings in my app, like vibration intensity and sounds. I'm currently working within a single view app. Does anyone have any advice to share?







      ios xcode settings






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 2 at 12:27









      WilleverWillever

      13




      13




      closed as too broad by Paulw11, Larry Shatzer, Roman Pokrovskij, JSDBroughton, Roland Weisleder Jan 2 at 18:09


      Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









      closed as too broad by Paulw11, Larry Shatzer, Roman Pokrovskij, JSDBroughton, Roland Weisleder Jan 2 at 18:09


      Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


























          1 Answer
          1






          active

          oldest

          votes


















          0














          For display popup you need to add this code



          let alertController = UIAlertController(title: "Alert", message: "This is an alert.", preferredStyle: .alert)

          let action1 = UIAlertAction(title: "Default", style: .default) { (action:UIAlertAction) in
          print("You've pressed default");
          }

          let action2 = UIAlertAction(title: "Cancel", style: .cancel) { (action:UIAlertAction) in
          print("You've pressed cancel");
          }

          let action3 = UIAlertAction(title: "Destructive", style: .destructive) { (action:UIAlertAction) in
          print("You've pressed the destructive");
          }

          alertController.addAction(action1)
          alertController.addAction(action2)
          alertController.addAction(action3)
          self.present(alertController, animated: true, completion: nil)





          share|improve this answer
























          • This doesn't seem to answer the question. How is this sample alert code applicable to showing a settings page in an app?

            – rmaddy
            Jan 2 at 16:05


















          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          For display popup you need to add this code



          let alertController = UIAlertController(title: "Alert", message: "This is an alert.", preferredStyle: .alert)

          let action1 = UIAlertAction(title: "Default", style: .default) { (action:UIAlertAction) in
          print("You've pressed default");
          }

          let action2 = UIAlertAction(title: "Cancel", style: .cancel) { (action:UIAlertAction) in
          print("You've pressed cancel");
          }

          let action3 = UIAlertAction(title: "Destructive", style: .destructive) { (action:UIAlertAction) in
          print("You've pressed the destructive");
          }

          alertController.addAction(action1)
          alertController.addAction(action2)
          alertController.addAction(action3)
          self.present(alertController, animated: true, completion: nil)





          share|improve this answer
























          • This doesn't seem to answer the question. How is this sample alert code applicable to showing a settings page in an app?

            – rmaddy
            Jan 2 at 16:05
















          0














          For display popup you need to add this code



          let alertController = UIAlertController(title: "Alert", message: "This is an alert.", preferredStyle: .alert)

          let action1 = UIAlertAction(title: "Default", style: .default) { (action:UIAlertAction) in
          print("You've pressed default");
          }

          let action2 = UIAlertAction(title: "Cancel", style: .cancel) { (action:UIAlertAction) in
          print("You've pressed cancel");
          }

          let action3 = UIAlertAction(title: "Destructive", style: .destructive) { (action:UIAlertAction) in
          print("You've pressed the destructive");
          }

          alertController.addAction(action1)
          alertController.addAction(action2)
          alertController.addAction(action3)
          self.present(alertController, animated: true, completion: nil)





          share|improve this answer
























          • This doesn't seem to answer the question. How is this sample alert code applicable to showing a settings page in an app?

            – rmaddy
            Jan 2 at 16:05














          0












          0








          0







          For display popup you need to add this code



          let alertController = UIAlertController(title: "Alert", message: "This is an alert.", preferredStyle: .alert)

          let action1 = UIAlertAction(title: "Default", style: .default) { (action:UIAlertAction) in
          print("You've pressed default");
          }

          let action2 = UIAlertAction(title: "Cancel", style: .cancel) { (action:UIAlertAction) in
          print("You've pressed cancel");
          }

          let action3 = UIAlertAction(title: "Destructive", style: .destructive) { (action:UIAlertAction) in
          print("You've pressed the destructive");
          }

          alertController.addAction(action1)
          alertController.addAction(action2)
          alertController.addAction(action3)
          self.present(alertController, animated: true, completion: nil)





          share|improve this answer













          For display popup you need to add this code



          let alertController = UIAlertController(title: "Alert", message: "This is an alert.", preferredStyle: .alert)

          let action1 = UIAlertAction(title: "Default", style: .default) { (action:UIAlertAction) in
          print("You've pressed default");
          }

          let action2 = UIAlertAction(title: "Cancel", style: .cancel) { (action:UIAlertAction) in
          print("You've pressed cancel");
          }

          let action3 = UIAlertAction(title: "Destructive", style: .destructive) { (action:UIAlertAction) in
          print("You've pressed the destructive");
          }

          alertController.addAction(action1)
          alertController.addAction(action2)
          alertController.addAction(action3)
          self.present(alertController, animated: true, completion: nil)






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 2 at 12:45









          jignesh Vadadoriyajignesh Vadadoriya

          2,66611124




          2,66611124













          • This doesn't seem to answer the question. How is this sample alert code applicable to showing a settings page in an app?

            – rmaddy
            Jan 2 at 16:05



















          • This doesn't seem to answer the question. How is this sample alert code applicable to showing a settings page in an app?

            – rmaddy
            Jan 2 at 16:05

















          This doesn't seem to answer the question. How is this sample alert code applicable to showing a settings page in an app?

          – rmaddy
          Jan 2 at 16:05





          This doesn't seem to answer the question. How is this sample alert code applicable to showing a settings page in an app?

          – rmaddy
          Jan 2 at 16:05





          Popular posts from this blog

          Angular Downloading a file using contenturl with Basic Authentication

          Olmecas

          Can't read property showImagePicker of undefined in react native iOS