iphone

iPhone SDK Problem: load TableView whitin TabBarControlled Views

Hi there, I've a problem and cannot find a solution to the whole day now. I'm new to iPhone SDK, so I guess I'm just missing something. My app consists of a TabbedNavigation, having three ViewControllers. Everything works as expected. Now I want to open a new view (preferably from a NIB) when the user tabs a button (not the tab button...

Xcode : Where is the Organizer Devices Information stored on Hard Disk ??

When i open Xcode Organizer, there is info about devices that were connected with the Mac. Where is that information stored on hard disk? ...

Keys in XCKnownRemoteComputers

Hi, Do all the keys in the XCKnownRemoteComputers key in the com.apple.Xcode.plist are mandatory or we can just give UDid. Regards Abdul Samad ...

iPhone - Unrecognized Selector, "may not respond to addTarget"

I'm working on a basic iPhone app to test some events, and I'm running into an error that I can't understand or find any answers for. I'm not using IB at all (aside from the MainWindow.xib it creates). Right now it's about as basic as it could be. mainAppDelegate.h #import <UIKit/UIKit.h> #import "mainViewController.h" @interface mai...

Having multiple binaries in the Apple App Store

Is there anyway to have multiple binaries in the App Store? For example, let's say I have an app currently out in the U.S. App Store. Is there any way for a user, when downloading the application from the Canadian App Store, to retrieve a different binary? Thanks! ...

What happens if a UITableViewCell is not released?

What will happen if the autorelease is removed from cell creation in - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { STVCell *cell = (STVCell*)[tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell = [[[STVCell alloc] initWi...

Animation Layer Orientation

Hello and thanks for looking at my question. I have an app that supports landscape orientation only (either left or right button). It launches in landscape-left. Great - it launches in correct orientation, and it even reorients views properly (I've customized the supported orientations method) between landscape left and right. Moving o...

Optimize Core Graphics animated drawing (iPhone)

I have a loop that fires a function 30 times per second. The function changes the position of a couple of points that I use to animate. I draw lines through all the points, meaning that the lines will change 30 times per second. I draw these lines to a CGLayer, which then is drawn to a UIView in the drawRect: method. I do this because I...

What are the advantages of armv7 over armv6 when compiling iPhone apps?

If there are any advantages at all... couldn't find anything conclusive in the docs. Apparently armv7 is for newer version of iOS... is it faster? smaller? Better at X? ...

MPMoviePlayerViewController issue after movie finishes

In iOS4 for iPhone 4/3GS, I have a tableview and one of the cells plays back a movie file. If the movie finishes playing back and the controls have disappeared the view comes back in under the status bar. Like in this image...that I'm too new to post. See it here... http://www.dezignwright.com/ios4_movie.png If the controls are on when...

How can I adjust the space between sections in a grouped Table View?

I have a tableview that is basically four sections in length, designed for user input. I am not using headers or footers as of now. Section 0 has 4 rows. Section 1 has 2 rows. Section 2 has 1 row. Section 3 has 1 row. I want to have section 2 and 3 a little closer together and sections 0 and 1 a little closer together - basically co...

Pulling map in my application through Interface Builder

I am new to iphone app development and trying to make an application where the home of the application is the Map with one button and the map should be able to show the user's current position and place an annotation at his current position. The annotation should be bale to take input or file from the iphone (Text, picture etc). Please...

Reasons for an iOS thread to exit prematurely?

I have a block of code in my iOS app that fills an array with Core Data objects on a background thread, via NSOperationQueue, then notifies the UI on the main thread when it completes. Everything has worked perfectly in iOS3. However, in my new iOS4 build, I started noticing an occasional bug where the UI never gets notified that the da...

View shift problem with UIImagePickerController with datasource as UIImagePickerControllerSourceTypeCamera

Hi all, In my aplication I'm providing two options for user for uploading photos: Take a photo Choose from library I'm presenting this photo in a modalViewController in delegate method - imagePickerController: didFinishPickingImage editingInfo: by creating a viewController with an imageview and loading the selected image in it. Work...

Best practice for displaying modal view above UISplitViewController

Creating a new app based on the SplitViewController template and it works fine in Split View. My main screen is to be a non-splitview 'menu'. I'm trying to figure out the best practice for adding this 'mainMenu' modally above the splitViewController. (Then either push other non-split views above the mainMenu or remove it to reveal an...

Can't figure out this leak

SettingsView *settings = [[SettingsView alloc] initWithNibName:@"SettingsView" bundle:[NSBundle mainBundle]]; settings.modalTransitionStyle = UIModalTransitionStyleCoverVertical; [self.navigationController presentModalViewController:settings animated:YES]; settings = nil; [settings release]; Instruments claims that the following line i...

Why doesn't my UIImageView respond to taps?

I have a UIImageView that's being loaded from a NIB. I've hooked up a gesture recognizer to it to handle taps, but when I run the app, taps aren't being detected. ...

Messed up method - if/then structure and string manipulation problems

I have a method that gets called any time a control on my view changes and should update a UILabel. It has two UITextFields and two UISliders. First I check to see if either of the UITextFields are empty and if so, advise that they need to be filled in. Otherwise I get the difference between the UITextFields' values and generate a cou...

iPhone: Anchor UINavigationBar to bottom of screen

I am creating a UINavigationBar which works fine. But, it scrolls with my UITableView, which I don't want. How can I anchor the navbar at the bottom of the screen, so that it does NOT scroll? bottomNav = [[UINavigationBar alloc] initWithFrame:CGRectMake(0.0, self.view.frame.size.height, self.view.frame.size.width, 44.0)]; bott...

iPhone - How to dissmiss Quicktime from UIWebView?

Is there any way to dissmiss / access the QT player loaded inside of an UIWebView? ...