Find Jobs
Hire Freelancers

[micro tasks] translation from swift code to objective c

$10-30 USD

În desfășurare
Data postării: peste 8 ani în urmă

$10-30 USD

Plata la predare
the swift codes is below. you should translated this : func checkAuthorizationStatus () { switch [login to view URL]() { case .Restricted, .Denied: //Device does not allowed [login to view URL] = "Restricted/denied" let alert = UIAlertView(title: "Location Service Setting", message: "The access to location services on this app is restricted/denied. Go to Settings > Privacy > Location Services to change the setting on your phone.", delegate: self, cancelButtonTitle: "OK" ) alertnumber = 2 [login to view URL]() case .NotDetermined: [login to view URL] = "Restart the app" //Asking permission if([login to view URL]().[login to view URL](advance([login to view URL]().[login to view URL],1)).toInt() >= 8){ //iOS8 and later: call a function to request authorization [login to view URL]() }else{ [login to view URL]([login to view URL]) } let alert = UIAlertView(title: "Location Service", message: "Checking the availability of Location Service on the app.", delegate: self, cancelButtonTitle: "OK" ) alertnumber = 3 [login to view URL]() case .AuthorizedAlways, .AuthorizedWhenInUse: //Start monitoring println("Monitoring") [login to view URL] = "Playing " + toString(beaconID["version"]!) for i=0;i<27;i++ { [login to view URL][i].volume = 0 } //[login to view URL][0].volume = 1 [login to view URL][0].playFileAsync("[login to view URL]", target: self, selector: "PTDidStartPlay") //SoundFileLoader() [login to view URL]([login to view URL]) default: //unknown error println("Unknown Error") [login to view URL] = "Unknown Error" } } the [login to view URL] is the class we are trying to use the snip above. the WebViewController we have, and on this class, we should call this method on this web view. this class is need to call beacons listener on this web view. whole project desc:s [login to view URL] target devices: smartphones . iOS and android. lang for iOS : native app. code is objective c + swift. ( not js base code gen like phongap or cordoba or those ) langu for android : / Android java. but we use web views: the part you do is native iOS part.
ID-ul proiectului: 8358569

Despre proiect

Proiect la distanță
Activ: 9 ani în urmă

Vrei să câștigi bani?

Avantajele de a licita pe platforma Freelancer

Stabilește bugetul și intervalul temporal
Îți primești plata pentru serviciile prestate
Evidențiază-ți propunerea
Te înregistrezi și licitezi gratuit pentru proiecte

Despre client

Steagul JAPAN
Minato-ku, Japan
4,9
10
Membru din aug. 27, 2015

Verificarea clientului

Mulțumim! Ți-am trimis prin e-mail linkul pe care trebuie să-l accesezi pentru a revendica creditul gratuit.
A apărut o eroare la trimiterea e-mailului. Încearcă din nou.
Utilizatori înregistrați Totalul proiectelor postate
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Se încarcă previzualizarea
S-a oferit permisiunea de depistare a locației.
Ți-a expirat sesiunea pentru conectare sau te-ai deconectat. Conectează-te din nou.