I need to send video output to an external video screen from my iphone app. I am using the Apple Composite AV Cable. I get video output when I am playing a video through the ipod app, but when I do
[[UIScreen screens] count];
I only get one screen, the main phone screen. For my app I need to have a completely separate window like the...
I've tried multiple methods and tried some suggestions on this site, but how can I determine if a CoreData attribute "dueDate" is equal to "Today", I know NSDate is a specific time as well but I want the predicate to return if it is the same day/month/year regardless of what the time is in the day. Any suggestions?
...
I have succesfully finished testing my app on iphone by AdHoc Distrubution and now wanted to submit for AppStore. But there is a problem during creating a Distribution Provisioning Profile for AppStore.
After creating this Profile the status is still PENDING. How long it takes? There were no delay after creating Distributing profile fo...
Hey Guys,
I am having trouble with MPMoviePLAYER not showing video just audio.
It doesn't work on iOS 4.0.
Can anyone help please?
MPMoviePlayerController *moviePlayer;
NSBundle *bundle = [NSBundle mainBundle];
NSString *moviePath = [bundle pathForResource:@"Video" ofType:@"mp4"];
moviePlayer = [ [ MPMoviePlay...
Hi,
How different is the behavior of CALayer's valueForKey from that of any other ordinary NSObject's?
I have a custom layer which inherits from CALayer, and that has a property named 'angle',
but [myLayer valueForKey: @"angle"] always returns nil while [myLayer angle] returns the right value.
ValueForKey: works as intended with a class ...
I have an App with a Navigation Controller, several sub Controllers.
With XCode Debug I can't find any errors.
With iPhone running unplugged, I can't find any errors.
With Instruments running the App on Simulator it doesn't crash.
With Instruments running the App on iPhone it crashes when I click forth and back between certain ViewCont...
I have a UINavigationController (Parent) that is pushing a UIViewController (Child). I understand that both need to support:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return YES; //(interfaceOrientation == UIInterfaceOrientationPortrait)...
Hello,
I am implementing the following tableview method:
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
The problem is, when this gets hit, indexpath.row is showing up as out of scope. I am trying to handle the delete button for this...
Hey
I am having problem when converting string (YaxisData) to NSNumber. I have to return a NSNumber for Core-plot to get the graph done but its not working. Here's the sample code
-(NSNumber *)numberForPlot:(CPPlot *)plot field:(NSUInteger)fieldEnum recordIndex:(NSUInteger)index{
NSNumber *num = [NSNumber numberWithDouble:[[YaxisData...
My app crashes - unfortunately, it's not reproducable - this is a crash log I got, but I cannot read anything that would help me. Perhaps someone of you? Would be reeeeeeeeally great...
0 libSystem.B.dylib 0x00088c24 __kill + 8
1 libSystem.B.dylib 0x00088c12 kill + 4
2 libSystem.B.dylib 0x...
Hi,
I would like to know if there is some kind of similar functionality or way to preform an "on duplicate key update" function with core-data as there is with MySQL.
What I want to do is to save an object to the database every time a user presses a button. But if the button is already pressed I want to update the row with some new val...
the first screen shows a list of categories in tableview
select one item goes to the next screen which shows a list of items in that category in a tableview and shows a home nav button back.
and selecting an item in this view would take me to a detail view showing a nav button back to that category i just selected.
all the examples i've...
I am creating an NSArray from a URL that points to a plist
NSLog(@"_url rc:[%d]",[_url retainCount]); //prints "_url rc:[1]"
content = [NSArray arrayWithContentsOfURL:_url];
NSLog(@"_url rc:[%d]",[_url retainCount]); //prints "_url rc:[10]"
I'm completely at a loss as to why this is occurring. Let me know if you need further informat...
This is something that happens to me really often. I have a textfield in a table view cell, when I try to edit the textfield the keyboard appears, and when I rotate the device from landscape to portrait, this is what I get.
Any ideas?
Thanks in advance.
...
Does anybody know if there is an implementation of 7-Zip (LZMA) that would work on iPhone (iOS)?
...
Hello. I am new to Xcode and iPhone SDK. I want to make a paging enabled horizontal scrolling. But I can't do that, only vertical scrolling.
...
I am using sectionIndexTitlesForTableView to display index in a UITableView. It is working fine but I am using the same TableView to display something where I do not need this index. So, the question is how to remove the sectionIndex?
...
I'm trying to have one of the children views in my screen (owned by one view controller) not rotate when the device rotates. My view controller allows rotations as it should, and I'm trying to apply a 90-degree rotation to the one "stationary" view to counteract the overall rotation.
Problem is, everything seems to rotate anyways, and t...
I have two select elements. Making a choice on the first select will build the options for the second select. Works fine on desktop browsers.
On the iPhone, after you make your choice on the first one and chose "Next", the options do not get filled in the second select. So far, the only ways to do this is to go from the second select, ...
I'm noticing that some of the things that I do with images in my app, I could be doing with CALayer properties instead (i.e. borders, shadows, gradients, and so on). So I'm wondering, in general, is it a better idea to use CALayers and such, or just do all that stuff in photoshop and use UIImage(View)s for whatever I need? Scrolling perf...