Questions tagged as 'objective-c'

1
answer

NSLocalizedString does not return matching text

Personal I am using the NSLocalizedString function in an app for iOS but it is not returning the referring text that I put in a Localization.strings file that has the content below. Could someone help me solve this? label.te...
asked by 10.06.2015 / 03:15
1
answer

How to pass information from the second ViewController to the first ViewController

I'm having trouble passing information from the second screen of a NavigationViewController to the first screen of NavigationViewController . On some gringos sites I found teaching to do by Protocol, but it is not working. Is there...
asked by 25.03.2014 / 03:05
2
answers

How to create automatic line wrap with UILabel

I'm creating an app for posting catholic content, but I'm having a problem, I have a UIViewController with a title, an image of the post and below the image of the content, depending on whether the user posts a very extensive containing a...
asked by 27.06.2016 / 16:31
1
answer

How do I check if a product has already been purchased by the user on iOS?

Well, when I want to validate if a product from my application (an InApp) has already been purchased by the user, in Windows Phone, I only have to verify the product through LicenseeInformation. For example: var license = CurrentApp.LicenseInf...
asked by 04.08.2015 / 20:01
1
answer

Record video with AVfoundation framework and save in iphone gallery

I'm creating an app for iOS 8 that uses the front camera to record user's video until a certain action is called, and then saved to the gallery. But so far I've only been able to do this with a photo (take successive photos and save in the ga...
asked by 29.04.2015 / 22:08
1
answer

Which language corresponds to "Foundation"? [closed]

I've asked this question before, but it was not clear enough, so I'll explain again. I'm learning Objective-C with a book. However, this book is old, and in it, the author of the book uses version 4.3 of Xcode. Right from the start, it teache...
asked by 08.12.2015 / 18:57
3
answers

Receiving value from one method to another - Objective C

I need to get the value that comes from the device settings (I already got it, as it is in the code below) and I need to pass this return to a string that will allow the login to my application, take a look at the code: / p> NSUserDefaults *def...
asked by 24.06.2014 / 22:55
1
answer

Creating custimized authorization message

Is there any way to customize the authorization message for requestWhenInUseAuthorization and requestAlwaysAuthorization ? I know that for this to work we have to add in info.plist the information NSLocationWhenInUseUsa...
asked by 28.02.2015 / 21:06
1
answer

Format RTF file to be sent as body using MFMailComposeViewController

I have to send a text report (with formatting) that I put in an RTF file within my project. When I set the email body using the method below, the formatting of the RTF file is not recognized by the MFMailComposeViewController. Here is the...
asked by 03.03.2014 / 00:27
2
answers

UIActivityIndicatorView does not work

I want to display the activity indicator after clicking a button. This button will update the app. I followed examples and documentation, but it does not work ... - (void)viewDidLoad { // .. snip indicator = [[UIActivityIndicatorView...
asked by 14.02.2014 / 12:54