Most voted "xcode" questions
Xcode is an integrated development environment and free software from Apple Inc. for project management created for iPhone, iPad, Mac, Apple Watch, and Apple TV
Learn more…226 questions
Sort by count of
- 
		6 votes1 answer145 viewsIOS - How to make the app screen always lit?I’m making an app for IOS I already have ready on Android, I wanted to make a method that left the screen always lit, but I’m not getting On Android I did this way: Mainactivity: PowerManager pm =… 
- 
		5 votes1 answer2120 viewsInstall a free app on an iPhone without a developer accountSince jailbreak is not prohibited I think I can ask this question here, exists with jailbreak or some other way to install an app developed by me on an iPhone? In case the app is automation that… 
- 
		5 votes1 answer168 viewsLoad Webview in Objective cI set up a Builder interface to load a webview, with . h, . m and .xib. In a side menu, when clicking on an option, I need to call this webview. Running the application, clicking on this option… 
- 
		5 votes1 answer124 viewsResized screen after upgrading Xcode to version 11After upgrading the Xcode to version 11, the App developed for Ipad does not behave in a maximized way on the screen when running, both in the simulator and on the device, but the storyboard is… 
- 
		5 votes3 answers635 viewsLocal Push Notification iOSI’m using the lib React-Native-push-notification to schedule notifications in an app,. For Android I am able to create, but the same does not work for iOS. I wonder if you have any alternative to… 
- 
		4 votes1 answer135 viewsLoop does not run on XcodeI’m trying to run a loop in the Xcode, but it doesn’t work. On the console gets: Type the loop number: 5 Nothing else happens in the terminal. 0,1,2,3,4,5 does not appear. In short, it stands still… 
- 
		4 votes0 answers173 viewsError returning Clgeocorder addressI was developing an app using Clgeocoder, and suddenly it stopped working without me making any changes to the code, and started returning the following error. ERROR… 
- 
		4 votes1 answer726 viewsLabel auto fit with Swift text size?I have a label inside a scrollView, and this label gets an N text, some are small and some are big so the idea was to put in scrollView, but the problem is that I can’t adjust the label to increase… 
- 
		4 votes2 answers166 viewsIOS - How to scale a view by Swift?I have a view called viewV and would like to change your Width and Height shown in the image below via Swift code.… 
- 
		3 votes1 answer215 viewsprintln on Swift via terminalI’m trying to compile a class people.swift for Terminal macosx class People { let name:String = "" let age:Int = 0 init(name:String, age:Int) { self.name = name self.age = age } let anyPeople =… 
- 
		3 votes1 answer709 viewsTurning user input into button labelGuys, I’m trying to create a button that when pressed enables a text field that should take the user input and change the button label to input, but when I tried to play only got the following… 
- 
		3 votes1 answer47 viewsNslocalizedstring does not return matching textPersonal I’m using the function NSLocalizedString in an iOS app but this is not returning the related text I put in a file Localization.strings that has the content below. Someone could help me to… 
- 
		3 votes1 answer2497 viewsHow to get the complete ZIP code through the GPS of the mobile phoneI’m trying to get the full zip code through my location using the GPS of my mobile in Objective-C, but it returns only 5 digits. I used the following code snippet: NSString *cepcompleto = [NSString… 
- 
		3 votes2 answers3385 viewsHow to test an application without registration?I am a registered Apple developer (but not paid ), how can I test my application on my iPhone? It gives error when I ask to open on iPhone. I’m trying IOS 9 with Xcode 7. When I tried it gave… 
- 
		3 votes1 answer71 viewsWhat language corresponds to "Foundation"?I’ve asked this question before, but it wasn’t clear enough, so I’ll explain again. I am learning Objective-C from a book. However, this book is old, and in it, the author of the book uses version… 
- 
		3 votes2 answers1140 viewsHow to create automatic line break with UilabelI’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 the content, depending on whether the… 
- 
		2 votes1 answer121 viewsHow to use Xcode 5.0 with 10.7.5?I have a Macbook laptop that I can’t install the latest OSX operating system - Mavericks (Apple info), but I need to install Xcode 5.0 for iOS7 application development. So I need help knowing: How… 
- 
		2 votes1 answer140 viewsXcode - Array position value is not displayedI have an array with 30 positions and at each position of the array I have several objects like: Numprocesso, Nome, Idade, Sexo, Datanascimento. I would like to show all these objects from each… 
- 
		2 votes1 answer127 viewsiOS 7 - Tabelview editableI’m trying to create a Tableview with the same actions (Add/Edit/Delete Rows) of the native app (Phone) as shown below, but I’m not getting it. I would like to create a field "(+) add item" (which… 
- 
		2 votes1 answer456 viewsSplash screen on IosWhat’s the easiest way to make a splash screen on Ios? I always see different tutorials, and I can’t. I just want to upload an image for 3 seconds before entering my application 
- 
		2 votes2 answers141 viewsHow to access a Cocoa Touch Framework module on Playground SwiftI created a Cocoa Touch Framework module on Xcode 6.0.1 with Class implemented in Swift and can matter in my View Controller and use it normally. The problem that I can’t use the same code in the… 
- 
		2 votes1 answer549 viewsCalling dictionary in another View Controller SwiftI am trying to pass a dictionary from one Viewcontroller to another, I have succeeded, but the dictionary I am passing through is empty. I want to pass the dictionary after adding the userinput when… 
- 
		2 votes2 answers180 viewsHow to delete Tableviewcell as a Swift DictionaryI’m trying to rule out a TableViewCell using Swipe to delete style, but I cannot delete Cells. Cells are being created by a dictionary that creates each with the key as title and value as details.… 
- 
		2 votes1 answer229 viewsMkmapview circular SwiftI wonder if you can leave Mkmapview in Xcode with circular format. I tried to use mapView.layer.cornerRadius, but I still could not 
- 
		2 votes2 answers838 viewsMap showing search location SwiftGuys, I’d like to know how I can get my map to show the place that was searched and center the view at this point. I was able to do with the current location as follows:… 
- 
		2 votes1 answer140 viewsOutlets in Xcode 6 (Universal Application)I have a problem/doubts. Until today due to some needs I developed only for iPhone or iPad separately, but today I’m starting in the development of universal application, iPhone and iPad. I’m using… 
- 
		2 votes1 answer59 viewsApp features strange scroll on iPhone 6My application started to show a smaller screen when I run on iphone 6. Anyone has any suggestions? Follow the screen: Grateful… 
- 
		2 votes2 answers371 viewsSwift Multi Selection Problem UitableviewI have a tableView that when it is in "Edit" mode I can select each item and take an action, for example remove the selected items. When I select the items, the first ones are left without "Line… 
- 
		2 votes1 answer1406 viewsHow to open another viewControler on Swift?I’m new to Swift programming and I’m having a doubt. I have two files The main one: Viewcontroller.Swift and another one I created called Viewsegundo.Swift. I took the class import UIKit class… 
- 
		2 votes2 answers366 viewsStart screen in storyboardI’m using Xcode for app development. In it I use the storyboard for the canvases. Suppose the structure of canvases is as follows: I have 5 sequential screens, which one leads to the next, until… 
- 
		2 votes1 answer237 viewsI cannot catch error using Try-Catch on SwiftI’m making a app, which is giving me a certain error at some point, but is only occurring on certain devices. I am trying to capture this error with the do/catch, but I’m having trouble catching… 
- 
		2 votes4 answers874 viewsHow to work and switch multiple View Controllers via code?Without using a button to switch between views, everything happens via code. I already have the part that validates the user credentials, but when they are correct I do not know how to display the… 
- 
		2 votes1 answer74 viewsIOS - How to create Custom Cell for Tableview?I want to make a custom cell for my Tableview. But it is presenting problems that I am not able to solve. It worked normally when I did with the standard cell, but when I did custom gave problem I… objective-c mobile xcode uitableview uitableviewcellasked 9 years, 8 months ago CristianCotrena 1,145
- 
		2 votes1 answer234 viewsChange the Bundle Identifier of an app already published in the AppstoreI published an App in the App Store with the wrong Bundle Identifier, I ended up using the name(example) "myapp" while the correct one would be "com.empresa.myapp" fixed this in the new version but… 
- 
		2 votes1 answer86 viewsAutomate publishing iOS appsI work by creating apps on demand (for Android and iOS). Apps have the same features and only differ in style, which is defined by customers. In the case of Android I was able to automate the entire… 
- 
		2 votes1 answer311 viewsHow do I enable my iPhone to use in tests by Xcode?I need to use my smartphone to test an APP, but I don’t know how to enable it in Xcode. -I already have developer account; -I’ve already registered it as a device on -… xcodeasked 8 years, 12 months ago CristianCotrena 1,145
- 
		2 votes1 answer31 viewsAllow interactivity in Uiscroolview and prevent interaction with content within it while scrollingIs there any way to prevent user interaction with content within a Uiscrollview? I have a Scrollview the contains Uiviews inside it. In these Uiviews contains only one object, Uiimage. UIScroolView… 
- 
		2 votes1 answer463 viewsError adding APP build on iTunes ConnectI’m trying to upgrade my APP to the store I only changed contents of some Nsstrings, when I give Archive and send it to iTunes, it does not present any error, however when I add it, iTunes does not… 
- 
		2 votes1 answer67 viewsHow to receive data of subitens from a plist?Good! I’m having trouble receiving sub data from my plist. Note... This is my directory.plist: I want to throw it all in this one Main.storyboard: Whereas the Keys Position and Name would be in the… 
- 
		2 votes0 answers278 viewsError: Failed to execute shell command "getprop,dev.bootcomplete"Comrades, I’m having a problem running "Ionic Cordova run android --target=name of my device". The emulator normally opens with the Nexus 5X API 26 but before fully starting the emulator it returns… 
- 
		2 votes2 answers130 viewsAuto iOS layout does not work properly Xcode 8.2I’m developing an App in Xcode 8.x. I have a problem resizing 4 buttons on the first screen. I work on the design of iPhone 5 or 6 and configure all auto layout, when I run in all Vices is cool… 
- 
		2 votes0 answers514 viewsXcode error: "Codesign wants to access the access key of your keys"I’m trying to run an app from Xcode 9.2 on my iPhone 8 plus (iOS 11.2.1), but Xcode generates the following error: Codesign wants to access the "access" key of your keys. To allow this, enter the… 
- 
		2 votes0 answers119 viewsDo new Apple Certificates only work with Xcode 11?Apple’s Developer Site has gained new layout, and apparently new features. I created a Certificate today and instead of iOS Distribution, it’s only appearing in Distribution and in front "For use in… 
- 
		1 votes1 answer516 viewsHow to pass data(string) from a class to Viewcontroller’s TextfieldI want to pass data of a class of the type NSObject to be shown in my TextField Viewcontroller. I tried to use the function prepareForSegue but I couldn’t. Does anyone know how to pass the data,… 
- 
		1 votes1 answer51 viewsHow to insert with content larger than the screen?How to place more content by storyboard on an iPhone screen without the problems of screen boundaries. For example: I have a screen where I need to place a UIImageView and another UITextView twice… 
- 
		1 votes1 answer72 viewsObjective c Basico, setName error EXEC_BAD_ACESSGood people when entering the setName of my class happens EXEC_BAD_ACESS error below goes the code: Registration Class // // Registro.h // Agenda // // Created by Renan Vicente de Farias on… 
- 
		1 votes1 answer98 viewsChange in image density (IPR)I am working with a project that I do image capture and I need to transmit this image with 200dpi, I would like to know how to change the image density to 200 dpi ? 
- 
		1 votes2 answers343 viewsWhen to convert a 32-bit to 64-bit code in iOSI know there is a lot of information about converting a 32-bit to 64-bit code on iOS. However, I still have many doubts and I believe that they are the same of other people, especially in the issue… 
- 
		1 votes1 answer59 viewsHow to use Uibutton iconHow I put an icon in a UIButton through the .storyboard? Through the .storyboard has the options of UIButton between them has the option image where I can enter a path to an image for the button.… 
- 
		1 votes1 answer180 viewsParameters for a Container ViewThe scenario is as follows: I own a UIViewController and within this controller I own one UITableViewController added as a ContainerView. How do I pass parameters between my UIViewController and my…