Questions tagged as 'objective-c'

1
answer

Resize UITextView according to the amount of content

I'm creating a canvas where I have UITextView that receives content from a Web Service, I'd like to know how do I UITextView resize according to the amount of content I get, without creating a Scroll in the text, only the View has...
asked by 24.03.2016 / 17:25
1
answer

Bluetooth communication between an iPad and a PIN-PAD using Objective-C

I need help on how to use Core Bluetooth in communication with a PIN-PAD. I would like to know if this is possible, and if so, how can I do it? Thank you!     
asked by 14.03.2016 / 14:42
2
answers

How to prevent the screen from rotating?

I am making an APP and would like the screen to always be in Portrait. I researched the internet, but I could not figure it out. I tried to use the UIInterfaceOrientation of the UIKit framework, but it did not work.     
asked by 07.02.2016 / 19:20
0
answers

Send location to a WebService in the background

How do I make my iOS application using objective-c send my location in the background without running out of battery, and does not fail and is not disapproved by Apple, would anyone have any idea how to do that?     
asked by 29.01.2016 / 13:25
0
answers

CoreBluetooth - Send and receive a large data packet

I'm developing an application for iOS using only CoreBluetooth, in the same application the device could be a Central or a Peripheral. Well, everything works fine, until I try to send a packet of data above the limit allowed by the slave (periph...
asked by 18.11.2015 / 19:07
2
answers

Send push notifications through an array

I have a problem sending push notification to multiple users at the same time, I have a sending page plus it is sending only to a single token I would like to know how to get it to send to an array of registered tokens, follow the code. <?p...
asked by 17.11.2015 / 12:44
1
answer

Changes with IOS 9

I was programming using the Objective-C language and when the Xcode 7 update was done, some errors appeared in the language, one of them is in the file AppDelegate.m : (NSManagedObjectContext *)managedObjectContext { // Retu...
asked by 23.09.2015 / 01:07
2
answers

Label Position - Swift IOS

Good evening everyone. How do I leave the label that is reporting the current weight positioned under the progress bar cursor? To make this progress bar I'm using GradientSlider ( link ) Thanks in advance for your attention.     
asked by 05.10.2015 / 04:22
1
answer

Get my location through reverseGeocodeLocation

I would like your help to solve a problem, I have a delivery system that gets my location using GPS, I've been reading something about "reverseGeocodeLocation", but I only get one result but it's not always what I'm in if I am in my house in the...
asked by 29.07.2015 / 23:06
1
answer

Basic authentication using AFNetworking

How can I do basic HTTP authentication using AFNetworking in Objective - C?     
asked by 25.07.2015 / 05:25