Post

Replies

Boosts

Views

Activity

Hide top bar in safari?
I want to use a iPad to display a web app. The iPad will be used by many people, so I dont want the users to be able to navigate to any other sites. Is it possible to "remove" the top bar in safari (or any other browsers on iPad)
0
0
346
Jun ’23
Make HTTP GET request?
I'm trying to implement sending of SMS in my app. I want to try this via a 3rd party. So I need to make a HTTP GET request for sending the SMS: https://sveve.no/SMS/SendMessage?user=*&passwd=*&to=***&msg=Meldingstekst&f=json  I tried this:  let url = URL(string: "https://sveve.no/SMS/SendMessage?user=myUser&passwd=myPassword&to=12345678&msg=This is the message text&f=json")! let task = URLSession.shared.dataTask(with: url) {(data, response, error) in guard let data = data else { return } print(String(data: data, encoding: .utf8)!) } task.resume() Fatal error: Unexpectedly found nil while unwrapping an Optional value The error is on the URL. What can be the issue?
1
0
591
Apr ’21
Send SMS from app
I´m creating a app that needs to send SMS to different recievers when a button is tapped. The reciever will be selected from a dropdown that the user selects from. I have no experience with sending SMS from an app. I would like to be able to use WIFI and not be depending on SIM-cards to send messages. Does anyone have some tips regarding how I should go about to solve this?
5
0
7.8k
Jan ’19