iphone

How to remove the unwanted border in UISegmentedControl

i need to remove the border or seperator for each image in uisegmentedcontrol. UISegmentedControl *toolbtn; NSArray *btns = [NSArray arrayWithObjects:[UIImage imageNamed:@"tab1_ov.png"],[UIImage imageNamed:@"tab2.png"],[UIImage imageNamed:@"tab3.png"],[UIImage imageNamed:@"tab4.png"],nil]; toolbtn = [[UISegmentedControl alloc] initWi...

create .ipa for jailbroken devices?

I just finished my first iphone application and after i build i got .app file in build folder How can I create an IPA file ,that jailbroken devices can install it easy? i Create a folder named Payload then i Copy Myapp.app into the Payload directory...Compress the Payload directory and rename the zip file to Myapp.ipa but when i want to...

UIModalTransitionStyle horizontal movement

The UIModalTransitionStyle is either Vertical, Flip or Dissolve. I would like it to be right to left or left to right, like if you click on a disclosure button on a MapKit callout or in a navigation based app. ...

question related getter setter method..........................................................

how to convert object of an structure to an nsstring? ...

recorder works on iPhone 3GS but not on iPhone 3G

Hi everybody, I have a AVAudioRecorder, which gets initialized like: _recorder = [AVAudioRecorder alloc]; NSMutableDictionary *recordSettings = [[[NSMutableDictionary alloc] initWithCapacity:2] autorelease]; [recordSettings setObject:[NSNumber numberWithInt:kAudioFormatMPEG4AAC] forKey: AVFormatIDKey]; [recordSettings setObject:[NSNumb...

UIView beginanimations: subview shall not animate

Hi I have a UIView to which I add a UIButton in its initWithFrame: method like this: UIButton * dropB = [UIButton buttonWithType:UIButtonTypeRoundedRect]; dropB.frame = CGRectMake(190, 22, 52, 22); dropB.backgroundColor = [UIColor clearColor]; dropB.titleLabel.font = [UIFont fontWithName:@"Helvetica-Bold" size:11]; [dropB setTitle:@"DRO...

jquery iphone ui and jqtouch , which is better ?

jquery iphone ui and jqtouch they are lib of iphone , i want to choose one to use, which is better ? thanks ...

Can somebody help me out with plists?

Hi all, I have a little problem with plists. I don't know how to read data from my plist and in general how to structure it correctly. Here is how it should look like: Root product 1 type 1 string 1 string 2 typ2 2 string 1 string 2 product 2 type 1 string 1 string 2 typ2 2 string 1 string 2 The strings are paths to im...

How to change a new nib when I rotate the device?

I have a helloController which is a UIViewController, if I rotate the device, I want it change it to load a new nib "helloHorizontal.xib", how can I do? thank you. ...

UIButton State (UIControlState)

How do I set the state of of UIButton ? In the UIButton class reference there is a "state" but it is only "readonly". Thanks James ...

My own (new) class not found after xcode update

I'm developing iphone app. Yesterday I updated my xcode to to newest version and clean build folders (deleted it), then created new class (nothing special): @interface EnemyFactory : NSObject { } +(Enemy *)properReferenceForName: (NSString *) name; @end Implementation is trivial and not important. What is happening now: I've got sth ...

An app needs iphone4 to run, do I need to set some key in the plist file to exclude iphone3 and others?

My app needs iphone4 to run, do I need to set some key in the plist file to exclude iphone3 and other devices when I publish it in the itunes store. ...

didSelectRowAtIndexPath problem

Hi All, I have a problem that I had working in a test but now in a bigger application I can't seem to sort out. First of I have a view that has six button each loads a different view I am using: - (IBAction)showInfo2:(id)sender { InfoViewController *Infocontroller = [[[InfoViewController alloc] initWithNibName:@"InfoView" bundle:nil] ...

Maximum size of a popover

Hi there Could anyone confirm me the maximum size of a popoverview? Thanks ...

how to use custom font in iphone application

how to use custom font in iphone application? i need to use in custom font in my iphone / ipad appliaction. Can i embed custom font in my application? ...

Is it possible to connect to a wifi access point using iOS 4 SDK

I was wondering if it is possible to list and connect to nearby wifi access points programmatically. The Reachability sample only addresses if the device is connected to wifi or 3G/edge, and using something like the CaptiveNetwork API allows me to register if wifi authentication should be handled by a custom application but does not cont...

How can one use <input type='file'> in Safari on iPhone?

I was find around 1 week.help me pls TvT ...

Game in iphone using Flash Lite

Hai everyone, may I ask whether iphone can support .swf file or not? This is because I have developed a mini game using Adobe Flash Lite by using action script 2.0 and save as .fla file and export as .swf file. If can, can give me some guidances on how to import .swf to iphone. Thank a lot.:) ...

How to get back the selectedController from UITabBarController?

I created a UIRotatableTabBarController, which is a subclass of UITabBarController. It is something like this: - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations NSLog(@"Autorotation has been detected!"); if (self.selectedIndex == 0) { ...

Strangeness with a view controller's frame

I've created a simple application with a single view controller and removed the status bar so I can use the full height of the screen. The view controller's xib file loads perfectly well, displaying a backdrop image very nicely. I then added a custom view object which will be handling certain graphical tasks directly for me, and asked it...