Questions tagged as 'xcode'

1
answer

IOS - how to make the app screen always lit?

I'm making an app for IOS that I already have ready on Android, I wanted to make a method that would leave the screen always on, but I'm not able to On Android I did it this way: MainActivity: PowerManager pm = (PowerManager) getSystemSe...
asked by 01.02.2016 / 12:58
1
answer

Install a self-authoring app on an iPhone without developer account

As the jailbreak is not banned I think I can ask this question here, does it exist with jailbreak or some other way to install an app developed by me on an iPhone? In case the app is automation it will control some devices.     
asked by 03.11.2014 / 17:09
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
1
answer

Load WebView in Objective c

I set up a builder interface to load a webview, with .h, .m, and .xib. In a side menu, when I click on an option, I need to call this webview. Running the application, clicking this option returns the error "Thread 1: SIGABRT signal" in main.m....
asked by 04.05.2017 / 14:19
0
answers

Error returning address from CLGeocorder [closed]

I was developing an app using CLGeocoder, and suddenly it stopped working without me making any changes to the code, and started to return the following error.    ERROR /SourceCache/ProtocolBuffer/ProtocolBuffer-187.4/Runtime/PBRequester.m:82...
asked by 23.05.2014 / 18:34
1
answer

Loop does not run in Xcode

I'm trying to run a loop in Xcode , however it does not work. The console is:    Type the loop number:   5 Nothing else happens in the terminal. There is no 0.1,2,3,4,5. In short, it gets stuck after I type any number, bu...
asked by 30.04.2014 / 23:10
1
answer

println on Swift through the terminal

I'm trying to compile a people.swift class with Terminal of MacOSX class People { let name:String = "" let age:Int = 0 init(name:String, age:Int) { self.name = name self.age = age } let a...
asked by 06.06.2014 / 21:53
1
answer

Label if self adjust with swift text size?

I have a label inside a scrollView, and this label gets a N texts, some are small and others great so the idea was to put in scrollView, plus the problem is that I can not adjust the label to increase as the text , it cuts the rest of the line....
asked by 24.09.2015 / 00:16
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

Transforming user input into button label

I'm trying to create a button that when pressed enables a text field that should take the user's input and change the button's label to the input, however when I tried to reproduce I just got the following result: Video Outcome My ViewContro...
asked by 19.12.2014 / 02:12