Hi,
I'm thinking of starting to build software for Apple products, specifically the iPhone.
Having built software atop several platforms in the past - Linux/Unix, Android, .Net, Win32 - I know that every platform has a certain "way" of looking at it that makes building software for it simple.
For instance, Win32 communicates with an ...
I would like to hide the navigation bar, status bar, and tab bar when a user taps anywhere on the screen. The view for this tab is a tableview but the cells are inactive (they store images and text and do not perform any actions).
Is there a method for detecting touches on the screen of a tableview?
Thanks in advance for your help!
...
I'm writing an iPhone app that uses OpenAL. When the application starts, the music playing in background stops.
The music actually stops playing when I initialize the OpenAL library.
My question is, is there any way to use OpenAL while letting the background music play?
...
I want to you iPhone LocationManager and display the position using a custom map, different from the one used by MapView. Is there any way to customize the MapView or should I rebuild my own MapView from scratch ?
Do you think MapView will be open to achieve this kind of customization in a future release of the SDK ?
Do you have any re...
I am trying to make a program with three subviews after the title screen. Two of the views are just standard nib files with UIViewController subclassed to control them, and the third is a Tab Bar view. I can't seem to get the tab bar items to display though. I walked through the Tab bar chapter in "Beginning iPhone Development" which ad...
I want to build my iPhone app to work on iPhone OS 2.0 up to 3.0. According to this page, you simply need to set the "Base SDK" to 3.0 and the "iPhone OS deployment target" to 2.0.
My question is, when actually building the application, which "Active SDK" should I choose? I get the following choices:
2.0
2.1
2.2
2.2.1
3.0
My guess...
Hi!
I try to draw a string in this texture:
http://picasaweb.google.it/lh/photo/LkYWBv_S_9v2d6BAfbrhag?feat=directlink
but the green numbers seem vertical flipped.
I've created my context in this way:
colorSpace = CGColorSpaceCreateDeviceRGB();
data = malloc(height * width * 4);
context = CGBitmapContextCreate(data, width, height,...
Hi all,
I'd like to achieve the glow effect on what I believe are UILabels (or maybe a custom control?) in this application called convert. I think the app looks pretty neat and I'm trying to achieve a similar effect for my own application
Any help?
Best regards
david
...
Starting with iPhone 3.0, web pages can access the location data of the iPhone (Google Latitude does that).
Can anyone provide the code (JavaScript I assume) to do that?
Thanks
...
I'm using a NSMutableURLRequest to connect to a web site to get a JSON response. I'm doing so by generating the request, and then using NSURLConnection with a delegate of self to handle the async connection. I've implemented all the normal delegate methods:
- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data...
Hey how can i make my application start on the iPhone startup ?
Thank you for explaining ....
...
I have a custom UITableViewCell that contains a UISlider control and a UILabel which shows the current text value for the slider position. I want to update the label as the slider knob is dragged. Here are the basic elements.
cellForRowAtIndexPath:
This routine takes data and updates the slider value and the label associated with it.
...
Whenever I am using a quartz animation the background of the animation is white. How can I change this to be a different color. This is the code I am using to produce the animation
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:1.0];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:su...
Ok I have 8 labels and I want to loop through them but am having no luck.
This is what I have tried.
for (int i; i = 0; i < 10; i++)
{
double va = [varible1.text doubleValue] + i;
int j = 0 + I
label(j).text= [[NSString alloc]initWithFormat:@"%2.1f", va];
}
This errors out. My labels are named like this label0, label1, label...
Hi All,
I am developing an iPhone application using iPhone SDK 3.0. I need to use tabbar control along with navigation control. I also want to include a scrollview on the top of all views.Which contains a few number of buttons.These buttons are used to navigate to particular views. Tabbar contains 4 items. Total number views is about 8....
The OpenGL ES rendering loop is placed on a separate thread in my iphone application. Everything goes fine except that the EAGLContext's presentRenderbuffer method fails. The result is a blank white screen.
When the same code is run on the main thread, presentRenderbuffer succeeds and the graphics is properly shown.
What is the correct ...
Hi there,
I am having single table view in a view controller. That table view lists the countries first. When I click on a country(row), it has to push the same view controller's view with cities under that country. I need to see the slide animation, which we usally get while pushing views in navigator.
Is it possible to use the pushVi...
I'm trying to create a custom UITableViewCell but I have never done so before. I know I am supposed to subclass UITableViewCell but I need more info to start from. I want each cell to display several (2~4) UIImageViews just like is done in the Photo Album app. Has anyone done this before? Or is there a good tutorial that you know of? Ple...
I'm trying to get a simple button to play a sound:
-(IBAction)myButton:(id)sender {
NSString *audioFilePath = [[NSBundle mainBundle] pathForResource:@"whistle" ofType:@"wav"];
AVAudioPlayer *audioPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:audioFilePath] error:NULL];
[audioPlayer play]; ...
I have a feeling this is not an easy task but I need to combine or flatten a UIImageView with another UIImage view lying above it. For example: I have two UIImageViews. One of them has a UIImage of a grassy field (1200 x 1200 pixels). The other is a UIImage of a basketball (128 x 128 pixels), and it is positioned above the image of the g...