I have an MPEG-TS tha Id'like to convert into a mp4 file. The MPEG-TS contains AAC audio and h.264 video. So with ffmpeg i can simply do ffmpeg -i input.ts -acodec copy -vcodec copy output.mp4.
But I want to do this on the iPhone programmatically. So on the iPhone I don't wan't to use ffmpeg because it's LGPL and I would like to use some...
Hello,
I want a UIPicker to popup instead of the keyboard when I click on a text field. Is this possible, I've been googling for awhile but can't find anything.
Does anyone have any sample code ?
Regards,
Stephen
...
Hi,
normally, the way to update a tableView is calling self.tableView reloadData (or setNeedsDisplay), but my (visible) tableView doesn't reload by calling this method.
My context is, that I've got a Navigation-Bar and a TableView and by clicking a button on the Navigationbar, the method "aktualisieren" starts. This method also works ...
Hello there,
Does anybody know if it is possible to handle interruption by AVPLayer delegate when I have more then one AVPlayer?
I have tried few things to start again two AVPlayer after phone call, but still only one respond and started, the second one was paused and did nothing.
thank you in advance for any idea
Vanya
...
Unit Testing View Controllers seems to be very important part of iPhone Development (see this Article). This, however, requires initializing the Controllers from a Nib, which I found impossible to do properly in a logical test.
Loading Resources from a Bundle (see this Question) in a logical test works fine. Even loading Nibs is possibl...
Final Update: Turns out the fix to this problem is a depressing one. Go into the .xcodeproj directory inside your project, and remove the <username>.mode1v3 and <username>.pbxuser files. That fixed it. Boo, Xcode.
I'll start this off by saying that it's not your usual retain/release bug. It just started happening on a development bra...
Has anybody had the experience of Local Notifications being delivered from an app that has been uninstalled? I hesitate to ask since I can't reliably reproduce the issue, but we're receiving multiple reports of that occurring.
We're having an emergency debug session here, and since we barely know where to start looking for answers on th...
I'm working on an iPhone app that uses Core Data. Most times, I just test in the simulator, but occasionally pump the app down to the iPad to make sure.
I've recently changed my Core Data model, and now when I send the app to the iPad, I get a SIGABRT exception telling me:
Can't merge models with two different entities named 'foo'
O...
I'm trying to make a high score table, and suck at arrays in objective c (actually, in general objective c is challenging for me), so I can't figure out how to sort. I'm trying to do something like this (speudocode, I'm writing this in actionscript style because I'm more comfortable with it):
highscores.addObjecttoArray(score)
highscore...
I am not quite sure I understand how to do the following.
If I wanted to add e.g. an author and a title (key, value) to a dictionary. Fill that dictionary with data, then have another dictionary for say e.g. k = genre v = artist name and fill it with data.
Then I want to add the dictionaries to an array.
Firstly how is that done? a...
Can anyone kindly put me on the right path as to how to go about animating an object as though it's being rotated by touch+drag? We took images of an object sitting on a rotating tray at 10-degree intervals.
I was tinkering with Titanium and had a demo running whereby I simply changed the image to the next (or previous) image in an arr...
If I am developing an iPad app (the "Server") which needs to communicate with up to 4 iPhone/iPod Touches (the Clients) how can I manage this?
The two apps will be separate. Should I create 4 GKSessions for each of the iPhones? Should I have 1 GKSession which connects all 5 devices, and if I do, will each iPhone be able to "see" the othe...
Hey this question is pretty general, but I'm wondering what the Javascript differences are in Mobile Safari and Safari for Mac.
I was under the impression that from a Javascript perspective they are the same, with only some differences in CSS/rendering. But I am experiencing a number of Javascript errors in Mobile Safari that don't exi...
Is there a way to launch Voice Control programatically just like you can launch Safari? If so, how?
...
I want to display a view with two text field and a button. I want to pop the view like an alert view.Just like how facebook is popping up and asking for credentials.please help me out.Thanks.
...
Is it possible to stream video directly from the iPhone? Is there any undocumented way to do it? Or am I missing something?
...
I have a view called MyViewController, that I initialize from a xib file.
Its loadView method looks like this:
- (void) loadView
{
[super loadView];
// some initializations
}
I create it from some other view controller like this
-(void) createMyViewController
{
MyViewController *aController = [[MyViewController alloc...
I have an iPhone application that downloads images into the Caches directory on an as needed basis. However, I'd like to provide a portion of those images pre-cached. Is there a way through XCode to define a "Library/Caches" folder that will copy into the Library/Caches folder found in The Application home directory on the iPhone - so I ...
Here is my issue. I have a screen in a tab bar application that display's a search bar, and a UITableView. When you first open the tab, the UITableView is empty. After you enter a search, the iphone gets and parses XML based on the query.
All of this is working fine. I add the xml data to the underlying array that SHOULD populate the t...
i recently tried to add video streaming to an app using the iPhone SDK4.0. i had done this with no problems with previous versions of the SDK. so i copied the code over to the new project and ran it. well guess what. the video didn't play. i downloaded Apple's example code that shows how to play video. i compiled and ran it with SDK 4 an...