iphone

using nsurlconnection calculate remaining time for download

hi, I am downloading a 25+ mb file from the server. Is there a way to predict the remaining time to download ? if yes how ? ...

Displaying date in MM/DD/YYYY format in Iphone Data picker

Hi. In my Application i am using the UIdatePicker with fallowing code. UIDatePicker *datePicker=[[UIDatePicker alloc] initWithFrame:CGRectMake(0, 0, 480, 216)]; datePicker.timeZone = [NSTimeZone defaultTimeZone]; datePicker.datePickerMode=UIDatePickerModeDate; datePicker.date=[NSDate date]; datePicker.maximumDate=[NSDate date]; [datePi...

Browsing through all iPhone application

Hello Everyone.. Hope You all are fine.. I have a query to ask regarding new features of iPhone 4.0 My Question is .. Is there any possibility to brows any document throughout the iPhone through the application ? I mean, Suppose in one of my application have feature to share file using Bluettoth, Now When i run this application la...

cellForRowAtIndexPath always return nil

I have created sample application that insert 12 rows in tableview.And inserted fine.When after inserted my rows i dont want any changes in text during scrolling of tableview.So i checked with indexpath row has value of UITableViewCell , if it has values means return that cell otherwise we created new UITableViewCell. My sample code is ...

Is Three20 allowed?

Ive heard news that Apple is turning down Apps that use the three20 framework.My project uses it extensively.Does this mean im running into trouble. ...

Is there any data binding support for MonoTouch?

I am thinking about how an application can be written to work on both Windows 7 Phone and IPhone, one option is to use MonoTouch and structure the app with MVVM, then only the views will need to be different between the platforms. However MonoTouch does not seem to support data binding. When (if) data binding support is added to Mon...

Stopping video in viewWillAppear:(bool)animated method

In my viewWillAppear:(bool)animated method I want to stop video playing. How can I do this? I am new I don't know much. I am playing a video on this screen. I have a tab which shows table view. When I click on the tab the table view is shown but video is playing in background: we can hear the music. ...

Add random annotations to MKMapView

I need to add 'xx' amout of random annotations to an MKMapView, within a certain range of the user's current location. But i can't figure out how to do it. Can some of you help me? ...

Create Tab bar application with Core Data enabled

Hi, I'm want to create a tab bar application with Core Data is enabled (like navigation based default apps) but it looks Xcode doesn't provide this option. Maybe I'm missing something but is it doable? (My application looks like the iPod application). ...

How to split long NSString into pages

I have a long NSString I want to display over a couple of pages. But to do this, I need to find out how much text will actually fit on the page. [NSString sizeWithFont: ...] Is not enough, it will just tell me if the text fits in the rectangle or not, if its does not, it will silently truncate the string, but it won't tell me where it ...

app's designed area

The Apple guidelines say: Apps that read or write data outside its designated container area will be rejected What is their designed container area? ...

Is it Possible to implement a tabbar inside a detail view?

Well thats my question.My design demands it,but i cant figure out a logic.Since its a detail view,I will already have a navigation bar a the top.But the way tabbar controller works it seems it takes care of its own navigation.Has somebody encountered this before? ...

Simply recording sound and modifying it.

I'm want to make a test app to record some sound and then modify the pitch. Anybody able to gimme some advice what technologies on the iphone are the best (and simplest) to record some sound, and then after the recording I want to be able to pitch shift the sound to make it sound deeper. It doesn't need to be fast. The processing will n...

iphone NSString directly use cause memory leaks?

Hello For NSString, we can use NSString *str = [[NSString alloc] initWithString:@"hi"] NSString *str = [NSString stringWithString:@"hi"]; NSString *str = @"hi"; Can someone pls told me in the form of point 3, whether str own @"hi"? I mean whether I need to [str release] when clean up? Thanks for point 1, yes, I need; for point 2...

Only landscape view in Iphone applications.

I want to create a Iphone Application. My aim is, it will be contains Landscape view only from loading time. How to disable portrait view from loading time. If anybody know any idea, please help me. Thanks. ...

What does an iphone user need to use a Monotouch app?

If a user wants to use a Monotouch app, what does he need to download onto his iPhone prior to using the app? Also how heavy is the stuff he needs to download? Thanks. ...

How to exclude properties from NSManagedObjectContextObjectsDidChangeNotification

Hey, I'm using CoreData in my application and depend on the NSManagedObjectContextObjectsDidChangeNotification. I have already subclassed NSManagedObject for all my Entities and created the properties and @dynamic accessors. Is it possible to exclude some properties of specific entities from the notification? If so, how would I do it? :...

continuing download after the app goes to background

In my app, i download around 25mb+ data. During the download process if the user press the center button and app goes background what should be done so that the download continues once the app comes to foreground ...

weird iphone error.. urgent help needed

Warning: Cannot insert breakpoint 2. Error accessing memory address 0x96ba5efe: Unknown error: -1. Data Formatters temporarily unavailable, will re-try after a 'continue'. (Cannot call into the loader at present, it is locked.) Can anyone help me out with this? It is giving me this error every time I debug on the device but never on th...

saving NSUserDefaults finished

I have noticed that the saving of NSUserDefaults takes a while. How can I check if it has finished saving? for example I do: NSMutableArray *uld = [NSMutableArray arrayWithArray:[[NSUserDefaults standardUserDefaults] arrayForKey:@"testdata"]]; [uld addObject:teststring]; [[NSUserDefaults standardUserDefaults] setObject:uld forKey:@"t...