Questions tagged as 'objective-c'

1
answer

Image Density Change (DPI)

I'm working with a project that I do image capture and I need to transmit that image with 200dpi, I would like to know how do I change the image density to 200 dpi?     
asked by 21.10.2014 / 20:49
2
answers

IOS - Prevent keyboard from hiding Text Field? [duplicate]

When I click on Text Field, the keyboard pops up hiding it on the screen, I would like to know a way to make Text Field go up along with the keyboard, I tried to use a Scroll View but I could not. Example:     
asked by 18.02.2016 / 19:02
1
answer

How to configure NSPredicate to perform filtering?

I'm implementing a filter, where I need to search the records in Core Data, which have "yes" in certain columns. Table: Forexample,returningtheelementsthathaveyesinthecolumnsATTRIBUTE1,ATTRIBUTE3,andATTRIBUTE5InthisexampleIwouldreturnthere...
asked by 26.02.2015 / 17:50
1
answer

Parameters for a Container View

The scenario is as follows:    I own a UIViewController and within this controller I own   a UITableViewController added as a ContainerView . How do I pass parameters between my UIViewController and my Contai...
asked by 05.12.2014 / 13:31
2
answers

Roll UIscrollView automatically when entering UItextField

I need to create a form that will make the screen scroll as it fills in. The idea is that the screen roll as I fill it out and thus displaying the fields below the keyboard.     
asked by 14.11.2014 / 09:50
3
answers

How to Configure Tab Bar Controller?

I have a Tab Bar Controller with 5 ViewControllers attached to it. This brings up 5 buttons on the bar. I would like the ViewController attached to the third button (middle button) to be the first to be displayed when the screen is opened....
asked by 01.05.2015 / 22:59
1
answer

Mask for CNPJ in Objective C

I'm trying to put a mask on a string that is a CNPJ. I get a string with size 14 and tried to put the mask in: NSString *cnpj = [NSString stringWithFormat:@"%@.%@.%@/%@-%@", self.codCnpj substringWithRange:NSMakeRange(11, 2)], [self.codCn...
asked by 09.09.2014 / 18:24
1
answer

Restrict iOS versions

Is there any way I can restrict iOS versions? Detail: Not the minimum version For example, I developed an app and would like it to run on iOS 7.x.x and iOS 8.1.x versions. In short, I would like to prevent the application from being inst...
asked by 30.01.2015 / 14:51
1
answer

How to use AirPrint to print text from a UITextField?

Someone could indicate a tutorial, or sample code explaining how to print a text from a UITextField.     
asked by 27.01.2015 / 16:59
1
answer

Objective c Basic, error in setNome EXEC_BAD_ACESS

Good people when entering the setNome of my class happens the error EXEC_BAD_ACESS below is the code: Registry Class // // Registro.h // Agenda // // Created by Renan Vicente de Farias on 01/07/14. // Copyright (c) 2014 Renan Vicente...
asked by 03.07.2014 / 13:49