lunes, 18 de diciembre de 2017

iOS: Show message / show alert

private func showAlert(withMessage message: String) {
        let alertController = UIAlertController(title: title, message: message, preferredStyle: UIAlertControllerStyle.alert)
        alertController.addAction(UIAlertAction(title: "Ok", style: UIAlertActionStyle.default) { alertAction in
           
            alertController.dismiss(animated: true, completion: nil)
        })
       
        self.present(alertController, animated: true, completion: nil)
    }

miércoles, 13 de diciembre de 2017

iOS: Tethering an Android device to an iPhone

1) On an Android powered phone, enter the Tethering and Hotspot Menu.
2) Select the option to enable Bluetooth Tethering.
3) Enable Bluetooth on the phone.
4) In the Bluetooth menu, make the phone discoverable by tapping the top message.
5) On the iPad, turn the Bluetooth on in Settings.
6) When the phone appears on the list of devices, Tap to connect.
7) Once connected, there will be a tethering icon in the top left of the screen.
8) The iPad now has internet access through the phones mobile data connection.