xcode

iPhone Application Loader app store submission errors help

Hey there, I am trying to submit my app to the app store using the application loader. I get to the stage where I select the .app to send and it fails with these two errors, could any one help me with how to fix these? Info.plist does not contain a CFBundleResourceSpecification Not sure what the above means... on iTunes connect the b...

Programmatically Scale selected UIView components on Zoom

Hi, I have a UIScrollView that nests a UIImage and several symbols that are placed on the image programatically. When the user zooms I need to scale these symbols up to have them keep the same size, whilst the underlying image is zoomed. I placed the symbols and the image in a UIView to ensure the symbol position is alidned to image ...

Forcing a view to unload when another tabButton is hit. (iPhone)

My iPhone app has a tabBar at the bottom. The 5th tab is rarely used... but pretty memory-intensive... so I want to make it UNLOAD each time it is exited (by the user clicking on a different tab). But how? I thought I just needed to call "[self viewDidUnload]" but that doesn't seem to do it. Where is the "forceThisViewToUnloa...

Iphone and Youtube api

Hi, I want to retrive uploaded videos from a certain youtube channel and I want to display the list in a UItableview. Then when user clicks on a row the video will play. Is this possible to do with youtube api? Im new to Iphone app development and I need to get this done asap. Can some one provide some code samples or point me in the rig...

Slow app launch

Hi! My iphone app is launching very slowly, and I have no idea why. My application:didFinishLaunchingWithOptions: isn't really heavy, I'm just setting the managedObjectContext for each of my five view controllers of my tab bar controller. Does anybody have an idea what causes the slow launch? Thanks. - (BOOL)application:(UIApplication ...

Relationship between Bundle Identifier in Info.plist and App ID and iTunes Connect

Hey, I'm having a lot of trouble trying to get my app on iTunes connect with the app loader. I think the problem is the connections between the ID's, and how they all need to match up. Could someone please explain this too me? My situation - Bundle Identifier in Info.plist com.<domain>.<appname> Distribution Provisioning Profiles App...

Where can I find the missing MediaPlayer.Framework and MessageUI.framework frameworks?

I'm attempting to ad AdMob to an iPhone app as a backup for iAd, unfortunately, I can't follow the documentation. It's telling me to add the 'MediaPlayer' and 'MessageUI' frameworks, but they don't appear to be present -- I can add a number of other frameworks, but those two are AWOL. Please note that I can add any number of other fram...

how to create session (iPhone)?

How do you log the user in, create and store the user's session? (It will timeout on its own aswell? do you need to store it in a database?) ...

UIWebView doesn't update

I am using UIWebView loadRequest to request a new URL. The UIWebView is inside a TabBar View. When I place the request inside awakeFromNib it works. When a make a subsequent call the view does not change. [webDisplay loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]]; If I place the initial r...

touch began in UIScrollView

touch began doesn't work in UIScrollView How to enable touch began in UIScrollView? ...

iPhone Codesigning help?

Hey, What should the Bundle ID be entered as in iTunes Connect? I have my Bundle ID in the XCode project set to com.<mydomain>.<appname> I have my Provisioning Profile app id as <bundle seed>.com.<mydomain>.<appname> The project builds fine an I get the green verification that Codesigning and Validation went ok. But what bundle ID ...

SentTestCase doesn't highlight UnitTest failures as errors in code

I have setup UnitTests for some of the logic of my iphone app, I followed apple's guide for UnitTests in XCode, however when some of the assertions fail - instead of highlighting the place directly in code like a regular compilation error - XCode just displays the number of errors in the bottom-right corner and I have to look up the erro...

UISwitch's color

I can change UISwitch's color with below code but always color is yellow how to change color to another color? UISwitch *switch1=[[UISwitch alloc]initWithFrame:CGRectMake(70, 121, 94, 27)]; [switch1 setAlternateColors:YES]; ...

Moving Xcode certificate to new system for iPhone Dev

In Apple's Provisioning Portal "How To" under Certificates, there is a section called "Saving your Private Key and Transferring to other Systems". Now this is what I'm doing (I have rebuilt my machine with a new HDD and therefore have access to my previous OS build) and I'm looking to backup my private key so I can install it on my new O...

XCODE debugger, I don't get this

Hello there - I am trying to understand how to accomplish some basic debugging stuff with gdb I want to check the length of this control (UILabel) if I type the following in the console I get nothing, what's the proper way to do it? (gdb) po self.mylabel.frame.size.width There is no member named frame. or if I try without self: (gdb...

OpenFeint with GameCenter really that easy?

I was reading this: http://www.openfeint.com/ofdeveloper/index.php/kb/article/000089, and it seemed to make out that the implementation of GameCenter with OpenFeint was as simple as adding one plist to the project (after setting up achievements / leaderboards). But is this really the case? I've just implemented this in my project now and...

Changing shader-code in xcode on iphone opengl es 2.0 project results in an error.

Im new to shaders and I'm trying to learn the basics. But everytime I change some code in my vertex shader it results in an error. "Validation Failed: Program is not successfully linked." Im using the standard openGL project for the iphone as a starter in Xcode ( with a 2d cube moving in y-position). From the beginning th...

How do I sort an NSArrayController by string length using bindings?

I'm trying to use a key-path to sort an NSTableView by the length of each string contained in each row. I'm using an NSArrayController to control my content array, but I'm having trouble finding out where or how to get the array controller to perform this behavior. I know the setting is in Interface Builder somewhere; I just can't find i...

Why do UIViewControllers have xib files and UIViews do not?

When I create a new UIViewController in xcode, it offers to make me an associated nib for the interface. However, when I create a UIView, it does not. If my understanding of MVC is correct, views should really be the parts that contain the interface elements (i.e. the nib) while view controllers are the parts that hook the functionality ...

iPhone SDK : Is it possible to record the you talking time ?

First ,this is my friends idea ,girls always use cell phone talk too much every month they receive the billing will cost them a lot of money they ask me is there any applications to calculate how long they dial out a month or maybe can pop up a alert to notice them time is up,please hang up the phone maybe 3 mins or 5 mins (some tel...