I've got a detail view with various labels and such providing information about a place (address, phone, etc.). The information provided is taller than an iPhone screen so they're all in a UIScrollView (itself inside a UIView) that allows you to swipe up and down to see everything.
I also have an MKMapView inside the scrollview. When it...
Hi, I am very new to developing apps on the Iphone (In-fact I am new to application development all together). I would like to know what the feasibility for an idea for a app on the iphone is.
1)The application would allow users to download content (audio or if possible video files) onto the device.
2)Each of these files will need to be...
Is it possible to override the hardware home and sleep buttons on the iPhone? I did a lot of research on this, but I was unable to find any definitive answers out there.
I'm not looking to design something malicious, but I was curious about the possibility of doing this for a personal project on my own iPhone.
...
APPLICATION :
My application has three pages Page A,Page B and Page C.
WHAT I DID :
I can individually link Page A to Page B and Page A to Page C.
PROBLEM:
I am not able to link from Page A to C when i come back from B to A.
What should I do?
Your Suggestion and advise is most welcome. Waiting for ur reply. Thanks
...
Hi there!
Is there a possible way to find out the modulus and exponent of the Public Key, created with SecKeyGeneratePair (the Security Framework in general)?
...
Hello everyone.
I'm having a peculiar problem with CoreGraphics/CoreAnimation on the iPhone. To better explain how the problem manifests itself, I'll walk you through my current setup and illustrate with code where appropriate.
I'm trying to draw a bunch of preloaded images in a UIView's CALayer, but whenever the image displays, the ap...
I've got the following code that loads on an UIImageView the image that I want from the internet:
NSString* mapURL = @"http://mydomain.com/image-320x480.png";
NSData* imageData = [[NSData alloc]initWithContentsOfURL:url];
UIImage* image = [[UIImage alloc] initWithData:imageData];
[marcaBackground setImage:image];
[imageData release]...
Quick question, does anyone know how to programatically make the text in the textField bold or italic?
@property(nonatomic, retain) IBOutlet UITextField *textField_TOP_01;
[textField_TOP_01 setTextColor:[UIColor redColor]];
[textField_TOP_01 setText:@"This text is bold"];
Much appreciated
Gary
...
I am a little puzzled why the following is not working, button_ONE does a nice fade, but pressing button_TWO just snaps the color to black with no fade.
// FADES OUT OVER 1.5 Secs
- (IBAction)button_ONE:(id)sender {
NSLog(@"FADE ALPHA");
[textField_TOP_01 setAlpha:1.0];
[UIView beginAnimations:nil context:nil];
[UIView s...
For an application I am building I have drawn 2 circles. One a bit bigger than the other. I want to curve text between those lines, for a circular menu I am building.
I read most stuff about curving a text that you have to split up your text in characters and draw each character on it's own with the right angle in mind (by rotating the ...
I have a UIView object X that is contained in an UIView object A. I want to be able to touch X and remove it from object A and move it into object B (another UIView). Both Object A & B are inside of the same super UIView.
A B
_____ _____
| | | |
| X | -> | |
|___| |___|
This is what I have so far.
@implementat...
I'm developing a static library that will be distributed to other developers, who may need debug statements. So I have several levels of logging.
In order to avoid constant appearance of
if(loggingLevelCurrentlySet >= loggingLevelWantedForThisInstance){
NSLog(@"log this");
}
I created a set of logging function wrappers. A simp...
Hello,
consider a tab bar controller whose tabs are implemented by navigation controllers. Given the action of the user on tab A, I first need to programmatically select tab B, pop to its navigation's root view controller, do some modifications therein and push another view controller onto the stack. However the naive approach
tabBarCo...
Hi, i'm trying to make a UIView shake when a button is pressed.
I am adapting the code I found on http://www.cimgf.com/2008/02/27/core-animation-tutorial-window-shake-effect/.
However, by trying to adapt the following code to shake a UIView, it does not work:
- (void)animate {
const int numberOfShakes = 8;
const float duration...
Hi,
I would like to know to make an UIPopoverController without arrows
In fact I would like to simulate something like this:
See that
There is no arrows
There is a title that is somehow inside of a expanded top border of the UIPopoverController and not inside of it like in the normal UIPopoverController.
I assume this is not reall...
Is there an equivalent of MonoTouch.Dialog, but for native Objective C apps? MonoTouch.Dialog automatically generates UITableView settings-style interfaces based on model metadata, or via a simple API.
I've been experimenting with building apps with MonoTouch, but I've found the app startup time currently unacceptable, so I'm trying to...
Hi,
I wonder why this is not working?
UIButton *infoButton = [UIButton buttonWithType:UIButtonTypeInfoDark];
[self.view addSubview:infoButton];
[infoButton addTarget:self
action:@selector(showInfoViewController)
forControlEvents:UIControlEventTouchUpInside];
//NSLog(@"%@", [infoButton description]); //button s...
Something I'm not very clear on is whether I should/could use interface builder to create reusable game sprites. For example, if I have a ball that I want to create an indeterminate amount of at run time, should I be creating a nib file (and either attaching graphics in IB or drawing them in drawRect) with it's own viewcontroller class a...
I used the AVAudioPlayer to play a 10 sec wav file and it works fine.
Now I what to stop the wav at the 4th sec and then play it again from the
very 1st sec.
Here is the code I tried:
NSString *ahhhPath = [[NSBundle mainBundle] pathForResource:@"Ahhh" ofType:@"wav"];
AVAudioPlayer *ahhhhhSound =[[AVAudioPlayer alloc] initWithContentsO...
...
i am sure this is a basic question, so thank you in advance.
i add a cell to the end of a section when in editing mode and i give it UITableViewCellEditingStyleInsert. how do i set what function that button calls?
...