iphone

Streaming live H.264 video via RTSP to iphone does work! w/example

Using FFMPEG, Live555, JSON Not sure how it works but if you look at the source files at http://github.com/dropcam/dropcam_for_iphone you can see that they are using a combination of open source projects like FFMPEG, Live555, JSON etc. Using Wireshark to sniff the packets sent from one of the public cameras that's available to view wi...

Round the corners of an image

Is there a way of rounding the corners of an image that I placing in an imageview? ...

Should I release array returned from [NSMutableDictionary ValueForKey: ]

I have a NSMutableDictionary with the key being the first alphabet of the name of an object. The view is something like the 'Contacts' tab on iphone. Additionally user can select individual objects in the list. In the code I find each selected object to process them further. NSMutableArray *objectsToAdd = [[NSMutableArray alloc] init...

iPhone iOS 2.0 to iOS 4.0 SQLite compatibility

Hi! I would like my app to be compatible with iOS 2.0 as with iOS 3.0 and iOS 4.0. I'm going to use SQLite for many reasons. Now: what should I do with SQLite? Should I use the features available with the SQLite shipped with iOS 2.0 only? All the best ...

Stream a song on an iphoe to another iphone?

Hi, Is it possible to write an iphone app that allows a user to pick a song (located on their iphone) and have it play out on an another iphone based on a client-server type relationship over a wifi connection? Thanks for your help, Lee ...

Edit binary plist under linux

How can i change values in the binary plist under linux os? I know i can to it under mac with defaults or PlistBuddy. I found some perl that convert from binary to text Mac::PropertyList::ReadBinary ...

iphone TabBarController, how to resize it to height?

Hi to all, any one know how to resize the TabBar? i want make it 80px height for use my custom background and buttons,and make it more beautiful. thank you ...

iPhone SDK - How to create a modal view with navigation controller in it?

I have a view controller that will be presented via presentModalViewController. Within the view managed by this controller is a table view, I want the view to be managed by navigation controller so if you tap a row cell of the table view, it will push the next view controller onto the stack. Problem is currently there is no way to pres...

rebuild table cells in UITableViewController

I have a UITableViewController that when loaded gets data from a web-service and stores it locally in an NSMutableArray, once that is loaded I need to loop through that data to build my table cells. I have all of the code for looping through my array working fine I just need to know how to fire my controller to rebuild the table so my...

Is iOS4.0 a requirement for app store submission?

Hi, Is iOS4.0 compatibility required for all app-store submissions now? To my understanding, your application is required to run on iOS4.0 now. It can -also- be compatible for iOS3.x, but there is no way to submit an application and have it run for 3.x only. (Note: When I say 3.x, I mean <3.2) Thanks! ...

Removing a trailing Space from Regex Matched group

I'm using regular expression lib icucore via RegKit on the iPhone to replace a pattern in a large string. The Pattern i'm looking for looks some thing like this | hello world (P1)| I'm matching this pattern with the following regular expression \|((\w*|.| )+)\((\w\d+)\)\| This transforms the input string into 3 groups when a match...

UIImagePNGRepresentation() and scale (iPhone 4 screen)

I've got some image generating code that uses UIGraphicsBeginImageContext(), UIGraphicsGetImageFromCurrentImageContext() and UIImagePNGRepresentation() to do some drawing, then save it to disk as a PNG for later use. Does UIImagePNGRepresentation() take into account scale? As in, if I have an image that is 20 points wide, will the resul...

Perfomance difference between Open GL and UI kit for a map based application

I am currently working on a navigation based app which uses third party maps. I use a lot of tiling. Though the maps are of very high resolution, I estimate an average of 6 tiles each of 256 * 256 pixels loaded . I might refresh the tiles like once in five minutes. I am currently using UIScrollview + tiles... Should I really switch to O...

Can I upload video to Facebook from within an iPhone application?

In the past, I've been able to upload images and text to Facebook from within my iPhone application, but I have not been able to upload video. Does anyone know how to programmatically upload video to Facebook? ...

Xcode 3.2.3 - Debugger shows only _string.h

In certain locations in my application, if I place a breakpoint and go to that location the code window jumps me to _string.h (which is locked) to this function. static __inline void * __inline_memcpy_chk (void *__dest, const void *__src, size_t __len) When I hit Step I am stuck, and all I see is _string.h. My code still executes ...

Oracle Business Indicator (iPhone) - Siebel Analytics

Hi All, I am trying to access the Siebel Analytics reports in iPhone through Oracle Business Indicator, According to the Oracle Business Indicator configuration they have asked to update the settings with the application URL and update the user name and password, however after the updating the settings when we try to access the Oracle b...

Is there an automatic release with setTitle (UIButton class) ?

Hello, As everyone knows, setTitle automatically retains the string passed as a parameter. When the button caption needs to be changed, I guess that it is necesary to release the current (old) string before setting the new one. I wonder what is the most elegant way to dot it. See my code sample (here, getPlayerHandFromGame method produ...

How to make an NSURLRequest login NOT in plain text

Whats the best way to make this a more secure and less obvious security risk? NSString *loginIdentification = [NSString stringWithFormat:@"user=%@&pass=%@&", userNameLogin, passWordLogin]; addressVariable = [NSString stringWithFormat:@"%@/%@", url, loginIdentification]; addressVariable = [addressVariable stringByAddingPercentE...

How I update a scroll view?

I, sorry for my english I'm not very good, I code in objective-c, I try to set text in a uiscrollview and update the content of the scrollview right after. I have a loop and I set the text with the method [uiscrollview setText:] in that loop, but the text is only displayed in the scrollview at the end of the loop... thanks Alex ...

iPhone: Instruments Allocations increasing steadily

I'm using Instruments with the Allocations instrument. I'm testing only a fixed interaction with my app. I have a navigation controller which goes 4 stages deep. The first two stages are standard table view controllers and the last two are custom controllers with dynamically loaded images. So I run my app in instruments (via Run with...