Xcode is Apple's integrated development environment (IDE). This tag should only be used for questions about Xcode itself, and not for general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, and [cocoa-touch] or [ios] for iOS programming questions.
0
votes
1answer
32 views
UIImageView shrinks on iPhone 4
I use UIImageView in my project, and when I test it on iPhone 4 simulator the image shrinks:
However, on iPhone 5 the image is OK:
I use Scale to Fit mode (I tried different modes), Autoresize ...
0
votes
1answer
7 views
I still can't add my device to my mac distribution provision profile
this is really frustrating, as of today I still can't add my device to my distribution provision profile (mac dev program)
what I did was, I first created a new wildcard development provision ...
0
votes
0answers
4 views
Closing Round Bracket Beep in XCode 4
this is really getting on my nerves and, after too much Googling, I haven't found a satisfactory fix for it.
If I begin to type in code using XCode 4.6, for instance:
float x = y + z
(my caret is ...
0
votes
0answers
14 views
EXC_BAD_ACCESS (SIGSEGV), KERN_INVALID_ADDRESS random crash
i have random crashes on one of my screens
What i could get from the crash log is
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xc0000008
Crashed Thread: 0
...
0
votes
2answers
44 views
Clicking on UITextField makes UIScrollView Smaller. Objective C
I have a UIScrollView and in the UIScrollView I have UITextFeild's in that UIScrollView. My problem is that after clicking on the UITextfFeild the UIScrollView becomes smaller than what I set it to.
...
1
vote
0answers
10 views
IOS SDK + Youtube API + NoLinkedYouTubeAccount
I have add youtube APi in my application and I have successfully authorized my account and get access token from google via auth 2.0.
but now i want to add comment on video and i am getting error as ...
0
votes
1answer
16 views
XCode Clean Build Folder CLI alternative
I'm working on a Cordova app and I'm trying to correctly clear the cache (from www files) using CLI:
Inside XCode using the option key to perform a "Clean Build Folder" correctly clears the cache.
...
0
votes
2answers
23 views
IOS: font custom inside my app
I want to insert a font inside my app, it's called "RemachineScript.ttf" and I done these steps:
I add it in my project and checked it in target membership
I add it in plist file in section Fonts ...
-1
votes
3answers
39 views
EXC_BAD_ACCESS code=1 occasionally when launching my app
Occasionally when my app launches, XCode gives me an EXC_BAD_ACCESS error, and with nothing in the console, takes me to this screen:
It also tells me which thread the crash occurred in, but I was ...
0
votes
0answers
10 views
Display Cancelled/Successful Alert using iOS 6 Social Framework
I am trying to perform the simple task of displaying a cancelled or successful alert that depends on whether or not a user has posted or cancelled a share. I am using the iOS 6 sharing capability as ...
0
votes
3answers
45 views
Local Notification is not working well in ios
I am having an app in which I am using the local notification if the user has not opened the app for sometime.
If the user opens the app via local notification my DB gets updated and giving credits ...
0
votes
1answer
33 views
Objective-C first launch code is ignored
I'm VERY new to Xcode but I am looking to add some extra functionality to my basic app. This functionality should log a string upon first launch. For debugging purposes I have also asked the program ...
2
votes
3answers
47 views
IOS launch image sizes
The ios App Programming Guide states the following launch image sizes for iPad apps:
1024x748px and 2048x1496px.
Yet in XCode, I am given the following sizes for ipad portrait launch images in the ...
0
votes
0answers
56 views
Use of undeclared Identifier after duplicate target
In Xcode, I duplicated my current target and renamed it. However, when I now build my project on the new target I get the following errors:
[...]/SearchStoreByNameService.m:11:133: Use of ...
0
votes
1answer
29 views
how to Change width of uitableviewcell so that it looks like left or right aligned in chat application
I am implementing chat application and I want to change width of table view cell in chat application so that sender can see his messages left aligned and receiver can see his messages right aligned.
...
1
vote
1answer
10 views
Adding objects to array NSXMlParser no data
I'm trying to make a XML-parser that saves data from YR.no-API. The parser should add data to these two datastructures. My problem is when i try to add a WeatherTimeData object to my array in ...
0
votes
0answers
15 views
Layout for iPad app
I'm new to iOS development and am trying to learn how to use Xcode, i will try to do an app for iPad (only in landscape mode) were i can setup a voyage details such as time of departure, mls to run ...
0
votes
4answers
28 views
Access viewController data from popOverView
So let's say I have a viewController view and a popup UITableView table.
I want to be able to change the background view of the viewController that calls the pop-up table by selecting an option from ...
0
votes
5answers
52 views
Can we programatically change font of multiple UILabels at once(by a single line of code)?
I am a newbie in iOS programming. Here is the situation I am facing: I have to programmatically create a view with some 25 labels in it. Of all the 25 labels, some features like color and font-size ...
0
votes
2answers
15 views
Catch the touch inside a shape drawn using CoreGraphics - ObjectiveC
I am drawing a shape using Core Graphics inside the -(void) drawRect method. How can I detect the touch inside that shape?
To make it simpler, when I touch the UIView, I should (atleast) be able to ...
0
votes
1answer
30 views
UIActivityIndicatorView displaying after presentViewController
Currently I have a UITableView filled with JPG files that are gathered from a server.
The problem is when I select on a cell the activity view controller takes a while to appear due to the size of ...
0
votes
2answers
30 views
How to manage Portrait and Landscape images in xcode?
I am developing app for ipad, Portrait images are working fine but when i switch to landscape its massed up the screen, Is there any way to manage both images or auto adjustment.
0
votes
0answers
17 views
Moving UIView plane in 2D along with accelerometer and gyro data
Question in one line is i want to apply effect like deepEnd jailbreak app.
Details:
I have a UIImageView for the background. Above that i have added Gold coin image. What i need to do is when user ...
0
votes
1answer
15 views
Why should we specify the code signing identity twice?
One is in the project, the other is in the target.
Which one is actually used?
0
votes
4answers
35 views
Project is not getting compile on XCode
I have a project which was compiling till last night but today morning i compiled that
project and it is not compiling. It just going to compiling 19 of 19 source files and
after that it ...
0
votes
2answers
34 views
Sharing images to social networks
I'm working on an iPhone app that lets the user pick an image from the camera roll, manipulate it (filters, effects, etc.) and then share it on several social networks (Facebook, Twitter, etc.).
When ...
0
votes
1answer
19 views
expected expression error with stopwatch
I am quite new to coding and have a error with my current stopwatch method
for (int i = [timeArray count] -1; i >= 0; i-) { <== error here - Expected expression
int timeComponent = ...
0
votes
1answer
12 views
Detail view unique to each table cell using Core Data
So I have created a Core Data application where the user enters information on a Modal View and once "Save" is pressed, it creates a cell (or adds an item to an array) in a table. Each cell pushes to ...
-4
votes
0answers
13 views
Send/recieve photos from facebook api on ios [closed]
So I have been working on an application that involves users to send/recieve photos in app from other "friends" using the facebook api... Think like Snapchat, where when you "update" the app, new ...
1
vote
2answers
31 views
Android stacktrace like on iOS?
Are there any stack trace like Android StackTrace on iOS?
I found Android stack trace is easy to read. Like bellow example, the error on TabChooser.java class on line 15, with error type ...