Questions tagged as 'ios'

1
answer

Read bank draft bar code

How can I read ITF ticket barcode (size 44) encoded in the Interleaved pattern 2 of 5. Using some library like zxing, zbar, etc.? I have already used the zxing and zbar libraries but do not recognize the ticket barcode. Now try the example...
asked by 14.09.2014 / 23:30
2
answers

Alternatives to payments for goods or services with a credit card on iOS

I would like to implement a payment method on iOS for the sale of real-world products / services , just as it works on e-commerce applications.    As seen in Types of payment forbidden in IOS is possible perform this type of transac...
asked by 30.04.2014 / 19:35
2
answers

How to use the AFNetworking 2.0 library synchronously?

I would like to call a rest service using the AFNetworking library. How to make a call synchronously, ie wait for the return of the webservice? For example: Method that will return a carriage object: Carro *carro = [self findCarro...
asked by 15.02.2014 / 22:17
2
answers

Display navbar only when user scrolls up in iOS

I'm using the Marius Craciunoiu technique to display all of my navbar when the user scrolls the screen up. So here's my JavaScript code (using jQuery): var delta, didScroll, lastScrollTop, navbarHeight; delta = 5; lastScrollTop = 0; na...
asked by 04.05.2014 / 19:45
1
answer

What is the difference between viewDidLoad and awakeFromNib?

What is the main difference between viewDidLoad and awakeFromNib in Swift development for iOS?     
asked by 03.11.2017 / 14:31
2
answers

IOS - How to edit a view's scale by Swift?

I have a viewview viewV and would like to change your Width and Height shown in the image below via Swift code.     
asked by 29.03.2016 / 14:32
2
answers

Recognize whether the user is using iOS or Android

I'm developing a screen for a website, and the customer asks if there's a chance the site will recognize whether the user is using Android or iOS. If you're on Android, go to Google Play to download the app and if it's iOS for the App Store....
asked by 29.08.2014 / 14:36
1
answer

Save latitude and longitude in swift

I have this code in my ViewController to capture the users current location: @IBOutlet weak var userMapView: MKMapView! var locationManager = CLLocationManager() override func viewDidLoad() { super.viewDidLoad() locationManager = CLL...
asked by 12.09.2016 / 19:30
1
answer

How to generate a random number within a range?

Using the arc4random_uniform() method, how should I assemble the logic to generate a random within a given range? For example, given the range [5, 10] Random Candidates:    5, 6, 7, 8, 9, 10     
asked by 20.03.2015 / 21:05
1
answer

Rounded border on Chrome buttons iOS

I recently updated my Macbook here and now all the buttons on my site are with the rounded border. I found it to be some CSS bug, but no, getting into my Windows computer is normal. Can anyone tell me what's going on?     
asked by 16.11.2017 / 19:14