iphone

iPhone SDK page flip and Page curl

I got the page flips and curls to work. I'll describe what happens... I build and Go The App opens in simulator I press a button and the page curls to page 2... but when it gets to page 2 the page drops down a bit. Why does this happen? ...

Question about using landscape mode with custom images on the iPhone/iPad

Hey I just had a simple question about implementing landscape mode for an app, particularly running on the iPad (but I am sure the concept holds true for the iPhone). I have a custom background image that I am wanting to use for my root view. I designed the image so that it fits the iPad screen size for portrait mode. Do I need to design...

When "programmatically" creating UINavigationController and UITabBarController, how do I address their functions (like viewWillAppear?)

I am creating my Nav and TabBar in code at launch via: IN : myAppDelegate.m - (void)applicationDidFinishLaunching:(UIApplication *)application { // set up a local nav controller which we will reuse for each view controller UINavigationController *localNavigationController; // create tab bar controller and array to hold the...

Why are tableview cells hardly visible when setting tableview background image?

I can't get the searchResultsTableView cells to be fully visible when loading with a background image. The cells look quite weak and don't stand out from the background imageview, even when selected. Any suggestions? - (void)searchDisplayController:(UISearchDisplayController *)controller willShowSearchResultsTableView:(UITableView *)tab...

Why can't I place a UIActivityIndicatorView on a UITableView by using Interface Builder?

I can place a UIActivityIndicatorView on a UIWindow or a UIView by using Interface Builder like as follows. But I can't place a UIActivityIndicatorView on a UITableView by using Interface Builder. What's the reason? Are there any ways? I can place it on a UITableView programmatically. ...

IPhone SDK removal of NSLog causes NSArray to be undeclared !

I have a working application I'm about to distribute and am tidying up NSLog statements in it. When I remove NSLog from from a "case" statement, the NSArray declared within the "case" statement errors as Expected expression before AND undeclared. Anybody any idea why this may be? This is happening on all case statements in my app where I...

XCode iPhone SDK Interface Builder problem

Hi. I have a problem with my XCode project. (I am a noob at Objective-C and XCode, so please be patient with me..) I created a new project as a Tab Bar application. I created four new header, implementation and interface files, and added those as the sources in interface builder. They were in this format: FirstView.h/m/xib, SecondView....

Slide from one button to another without lifting your figner!

heey... I have two buttons (Button 1 and button 2) and if i press button 1, note1 starts and if i press button 2, note 2 starts. So what I try to do is: press button one (note1 starts) and SLIDE to button2 and than should note2 start. Like you slide without lifting your finger over a piano keyboard and all notes from c to h sound. I d...

IPhone : Obtaining Ip address when connected over 3G

Hi, using iphone SDK 3.1.2 If connected via 3G on the iphone to internet, how do i find out what ip address is being used for this interface. Thanks ...

What is the iPhone ringer alert popup name ?

hi what is the iPhone ringer alert popup name? and could implement that ? i mean like this : ...

If I want my iPhone application published in the App Store ASAP, when do I submit my application?

Must I have the entire application built and completed, before submitting anything? (In other words, can I stand in line as I develop the application) ...

Is there a class / method to handle dragging views?

Hi all, I found a useful tutorial to get started in understanding how to Cocoa handles touch events. I've used this as a base to create a custom script, I'm trying to make a UIView draggable, very similar to the native Maps application. I've written a custom script, using the touchesBegan method it will capture where the input began ...

iPhone: Crash While Drawing CGLayers Stored in Array

I'm trying to build a drawing app with redo and undo functionality. My idea is to draw lines in a layer in "touchMoved", then saving the layer in "touchEnded". I'm not shure that I am drawing to the layer correct, everything works fine though, until I clear the image I'm drawing in on and try to redraw the layers in the array. - (void)...

Create a customised UIImagePickerControllerSourceTypePhotoLibrary

The path for the thumbnails of the images located in the iPhone is: /private/var/mobile/Media/DCIM/100APPLE/.MISC/ (or instead of 100APPLE we have 101APPLE, 102APPLE etc). If I want to pick these images directly from these folders, what is the best way to improvise a nice picker like the one for UIImagePickerControllerSourceTypePhotoLi...

stream video from the server . {iPhone SDK}

hi . i trying to stream video with static IP : http://38.117.88.148/GemTVLink via iphone . can you show me some information and how could implement this > ? i see apple video stream app and it seems can show only .mp4 movie ? iam i right !? i want my app load the http addres and play movie thats it . this link works on meida player ! ...

iPhone rolling page (maps application style)

Hi all, how I can implement a "rolling page" effect like the one in iPhone maps application? (The effect when the user tap the lower right button in the page here: http://artbeatme.files.wordpress.com/2009/05/bixi_map_1.png) ...

Objective C NSString being released in singleton

Hi, I'm constructing a small iphone app and using a singleton to store and update a string that gets updated when the user taps letters or numbers on the screen to form a code. i.e. they tap 3 then S then 4 and I need to track and combine that input to give me "3S4" say. When the singleton is initialised it creates an empty NSString a...

iPhone app runs on iPad simulator, but the background is inverted!!

Hi all, i've installed new sdk 3.2 pre-release wich have iPad simulator, i have tried to launch an iPhone app created by me in iPad simulator; the main view of this app has an image as background; when launch it on iPad simulator this background(self.background = [[UImage..... ) it comes inverted, from top to bottom. Any idea?? thanks ...

What strategy for committing AppName.xcodeproj bundles to SVN?

Each time I do a commit in Xcode I notice that the AppName.xcodeproj file/bundle has been modified. The modifications are obviously important although I don't have enough experience with Xcode to understand them. What strategy should I use for this? Do I simply commit these changes each time? It's no big deal, it's just that it will app...

Getting name of the class from an instance

Hi everyone I have the following problem: I get an instance of a class passed and want to know the name of the class of this instance. Any guess how to get this? Thank you very much! ...