iphone

Stream video From iPhone Or Android to RTMP

is there any way to Stream video From iPhone Or Android to RTMP Server using Red5?? i searched over internet and there is only 2 application that mange to do this successfully (UStream , Qik) the problem they closed source So if anyone could help me find some code snippets that make this possible ?? ...

How to implement indoor navigation on the iPhone

I would like to locate the iPhone in a building to build an application with similar features as the iPhone app of the American Museum of Natural History. There is no good GPS reception as there are also rooms in the cellar I would like to cover. What can save me is that there is good wifi coverage in the whole area, so my idea was to t...

XCode 4: How to send objects in NIB files to front\back?

How do you adjust the "z"-positions of objects (e.g. sending UIImageViews to the front\back) in the new, integrated interface builder in XCode 4? ...

Keyboard not resigning when viewcontroller is poped from the navigation controller

hi friends .. i am facing a problem in resigning the keyboard. i have a tableViewController in a navigation controller and a different view controller is pushed to the navigation controller on selection of one of the cell. in the view controller i have assigned a textfield as the first responder so that the keyboard shows up as soon as v...

i want to save data back to my button text from alert view

i should able to display texton button whatevr selected by user from table view which is appears when button pressed.. table view will appear when i press button as a alert view ...

iphone: try end try

Is there in objective-C any way to see if it is possible to do a certain task without risking crash the application? Other languages like javascript have try { //Run some code here } catch(err) { //Handle errors here } is there something in Objective-C? If so, what is the syntax? thanks. ...

Retina display vs old style display, why not use @2x files for both?

Hi I'm currently developing an app for both 3.0 phones and the iPhone 4. My designer made a high resolution and a low resolution version of the design. Our app is now 6 MB which I personally think is a lot, so I was wondering: why not only use the high resolution assets for all devices? What are the cons of this technique? Thanks in ad...

How to put iPhone UIDatePicker into 24 HR mode without affecting other apps?

Hello, My users was to select their times using the 24 HR clock instead of the AM/PM 12 hour clock in my iPhone app. Presently, as far as I can tell, the only way to put the UIDatePicker into 24 HR time mode is from the device's settings. My users only want 24 HR mode for this app, not their entire device. Does anyone know a way to p...

Scrolling a section in UITableView

I have an instance of UITableView with two sections, the first with one row and the second with up to eight rows. The second section frequently goes off the screen and the user can scroll the whole table view down to see these at will. However I would like the first section to always remain in view because its information is useful. I'd...

i am having link to my terms and conditions data ,i want to show this data by reading it

how to read data from an url link,and want to display it on my text view...... url link content contains only normal text i am using NSString *userAgreementStringURL = [NSString stringWithFormat:@"%@/requestConfigurationData.php?ownerID=%@&view=userAgreement", serverURL, ownerID]; NSURL *userAgreementURL = [NSURL URLWithString:us...

iPhone File Sharing: How to recognize when files have been added?

I have file sharing via iTunes working in my application (reference What's New in iOS 3.2) by enabling the UIFileSharingEnabled key, but according to the documentation: "Applications that support file sharing should be able to recognize when files have been added to the Documents directory and respond appropriately." My question is, i...

Can I use a continuous background thread to update the iPhone UI without using NSTimer?

Let's say that if I read from www.example.com/number, I get a random number. In my iPhone app, I want to be able to continuously read from that address and display the new number on the screen after each request is finished. Let's also assume that I want this process to start as soon as the view loads. Lastly, as a side-note, I'm using A...

iphone programming: access data, compare, display

Hi there, Would like some suggestion... for a navigation app, i am trying to transfer data around abit. Firstly, i am using NSString appDelegate to transfer data from navigation view 1 to navigation view 2. at navigation view 1 i have this: AppDelegate *appDelegate = [[UIApplication sharedApplication] delegate]; if(appDelegate.s...

How can I be notified when a dispatch_async task is complete?

I have a asynchronous task like so: dispatch_async(dispatch_get_main_queue(), ^{ myAsyncMethodsHere; }); Is there a way to be notified when the background task is complete? Or to call a method upon completion? I've read through the documentation and have looked into dispatch_after, but it seems to be more designed to dispatch t...

DTGridView doesn't interact with UILabel.

Hello everybody. I am using DTGridView with a subclass of DTGridViewCell with a UILabel and UITextField to do an in-place cell editing. That idea worked for me in UITableView like this: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { EditableDetailCell *cell = (EditableDetailCell *)...

how to cancel a local notification in iphone

I am making the application that has needs to set the notification , thankfully i was able t set the local notification but i dont know how to delete the notification which is set by this application(my aplicaton ).The xcode does provide functionality of delete with removeAllNotifications but you cannot remove the selected notifications ...

Problems when switching to xcode 3.2.3 and simulator 4.0

Hi All, Here is a list of problems I have after building my app with xcode 3.2.3 and running it on simulator 4.0. Of course, all these issues did work with the previous environment. Location manager does not update location. It used to update with the location at Cupertino but now I get locationManager:didFailWithError: called with er...

UITableView and touching section headers

Can a section header in an instance of UITableView already be made to intercept a touch? ...

UIViewAnimationTransitionCurlUp \ UIViewAnimationTransitionCurlDown doesn't support both variants of the portrait orientation?

Hi, I'm using the UIViewAnimationTransitionCurlUp \ UIViewAnimationTransitionCurlDown transitions to flip between view controllers. Problem is when I try to support the upsidedown portrait orientation , these lovely curl transitions still think they are in normal portrait orientation, thus the curlup goes from top to bottom and the cur...

UIView not initialised properly before rotation

Im using code very similar to below: - (void)flipToViewController:(UIViewController*)targetViewController transition:(UIViewAnimationTransition)transition { if( targetViewController ) { [[[self activeViewController] view] setUserInteractionEnabled:NO]; // force the view to be instantiated (loadView/layo...