iphone

sigabrt error when loading nib files

Hi all, I am working on a project in which I start with I have a nav controller. I load a login page first then move to a login success page where I have few buttons to click, when I click on any of the button here I get this error. When I tried to debug the code, I hav a break point at the button click method, before it executes any c...

Why is my animation flickering on iPhone?

I'm getting random flickers from the following animation -- it looks like the picture is centering itself for about 1 frame or so before continuing with what it's supposed to be doing, and I don't know why. -(void)generateWander{ //NSLog(@"generateWander"); if(targetChange==0) { targetChange=TARGET_LENGTH+1; float destinationAn...

How to config xCode Project to deploy iOS app into iDevice to make it use Mac network (network of which running xCode)?

How to config xCode Project to deploy iOS app into iDevice and make deployed-app use Mac network (network of which running xCode)? ...

Top row fixed in UITableView

Is it possible ? I used 3 label in cell of UITableView. I want to make to first row is a header and fixed position always when scroll. Section header can't show right position of label. Lost Angeles, U.S.A should be show on second column but first columns text is too long. ...

How do I get a dropdown list by selecting a button on iPhone?

I am new to iPhone. I need to get a dropdown list by selecting a button and the action should be done on the same page for the button we have clicked in the list. In this way there contains more than one button on the top of the page as in banks we used to see. ...

which control touched

In below code how can i understand that which control touched?(imagine that exist button1,label1,.. on view) - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *touch = [touches anyObject]; } ...

How to show required field with jqtouch in iphone view?

I've just started designing pages particularly for iphone browser (safari). I don't know if jqtouch is best or not, but I started working on it. Till now I learned initialization of jqtouch, and also implemented some touch events (tap, swipe). Now I am planning to create user interface and forms. For that I take a look on demo (Best vi...

NSMutableArray causing EXC_BAD_ACCESS crash after viewcontroller did disappear and re appears

Still "somewhat" of a newbie... I have an NSMutableArray that stores filenames - when a user clicks a UITableView the corresponding selected cell will pass the certain filename in the array to MPMoviePlayerController to play. It works, however if I exit out of the viewcontroller and come back, only the last video that I played will work,...

iPad MPMoviePlayerController Aspect Ratio Button closes movie

Hi all. I am loading up a video file in an iPad application using the MPMoviePlayerViewController. Basically, click the button, watch the video. It works great, unless you press the "Aspect Ratio" button (the one which looks like two arrows) which normally sets the video to autofit. In this case, it just closes the movie, and procs a MP...

How to increase size of webview cache???

Hi, here i am fetching data from 2-3 different xml and by attaching my own css and css coming from server i am merging this code and store it in cache of uiwebview so ass to display that html content in uiwebview. But problem is that uiwebview is having limited cache size due to that i am unable to store large amount of data in it. e.g: ...

Fires EXC_BAD_ACCESS

Hi, Hi I am trying to implement Captcha functionality. The following code, i have used for generating random word: -(void) createCaptchaWord{ lettersArray = [[NSMutableArray alloc] initWithObjects:@"A",@"B",@"C",@"D",@"E",@"F",@"G",@"H",@"I",@"J",@"K",@"L",@"M",@"N",@"O",@"P",@"Q",@"R",@"S",@"T",@"U",@"V",@"W",@"X",@"...

MyAnnotation view multiple lines text in iphone google map

MKCoordinateRegion region1; region1.center.latitude = 50.366772; region1.center.longitude = 20.010607; region1.span.longitudeDelta = 0.01f; region1.span.latitudeDelta = 0.01f; MyAnnotation *ann1 = [[MyAnnotation alloc] init]; ann1.title = @"Text1"; ann1.subtitle = @"Text2\n, Text3\n, Text4\n"; a...

Is it possible to stream music over a bluetooth p2p connection using iPhones

Hi, I am trying to connect multiple iPhones using bluetooth. I was thinking of having a server/client system. I just want to know upto how many devices can be connected using bluetooth? I am not able to find a reliable answer online. Also If you know of any good tutorials regarding this it would great if you could point me to it. Than...

what can I use to create a game for iphone like DOODLE LAUNCH???

Hey, I just downloaded this game doodle launch today and I think its pretty cool, I would like to make a similar game using some sort of engine? it has physics and it uses the iPhone tilt controls... any suggestions?? This is the link in case you want to check it out...: http://itunes.apple.com/us/app/doodle-launch/id393793976?mt=8 ...

iAd in iPhone animates when not loaded

I have added a banner view for implementing iAd in the bottom of the screen. But when running on the simulator the banner view is slightly above the frame fixed for it. It appears as a transparent strip and is not selectable. After sometime it automatically comes to the bottom as a black strip saying Test Advertisement. I want the banne...

Horizonal Scroller in UITableView

How to make Horizontal Scroll allow in UITableView ? I add label in cell content view with frame. However, can't show in Portrait view. I want to allow horizontal scroll bar on Portrait view. I already check on Scrollers Horizontal in UITableView but it's not working. ...

NSDate from string...??

I am working on calendar application. In this i have some issues with date format.. I am conflicting with two types of date formats.. one is -- 02-10-2010 second is - 02 Oct, 2010 but i want these formats be same.. any methods to convert from one format to second or second to first.. i searched date from string..but i cannot unders...

How to push uiviewcontroller over tabbarcontroller

I have a tabbar app. each tab has uinavigationcontroller. but all navigationcontroller's Shows Navigation Bar value is NO. i control the which navgation control is active in -(void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController event in AppDelegate. Then i the user ...

Can't get respond from server when app is in background - iOS4

I know that Apple supported application running in background mode, what I want to do is sending http request to get data from server then give user some notifications and I want repeat this action during several time using timmer. I'm using XCode-3.2.4 and Iphone4.1 simulator, it dose support background running, but when I made http req...

webkit css3 Column text selection

Iam using the column layout model of css3 to view content in a UIWebView (iPhone/iPad), I would like to programmatically select and copy the content of each column and paste it in another view, is there way to achieve this? ...