Hi I need to add a custom overlay to a MPMoviePlayerViewController but for some reason I can't get it to work. This is my code I have. Right now the custom overlay is just a gray view that covers the whole screen.
NSString *url = [[NSBundle mainBundle] pathForResource:@"mymovie" ofType:@"mp4"];
mViewPlayer = [[MPMoviePlayerViewContr...
below test code causes EXC_BAD_ACCESS when it's scrolled many time.
would somebody like to tell me the problem?
-myview.h---------------------------------------------------
@interface MyView : UINavigationController < UITableViewDataSource, UITableViewDelegate, UINavigationBarDelegate >
{
UITableView* mTableView;
NSMutableArray* ...
Hello!
I am having one problem with UIBarButtons in xCode iOS 4 with Objective-C.
I am following several examples and the error says that the addButtonPressed method was not defined - even though I have the function created before hand like this:
- (void)addButtonPressed
{
NSLog(@"Addbutton pressed", @"");
}
It is also defined in t...
Hi,
I would like to know whether if there is any Objective-C MSN API. I have searched for a while and could not really find one.
And if not could somebody tell some good place to look to start the protocol from scratch. Some points on how to start with.
I found this site mentioning details about the protocol. But still not sure how to...
Hi all,
I have a UITableView and I have layout some labels for its rows. When the values change in the table (means text values changes inside the labels), I need to animate the UILabel's backgroundcolor( eg. Background color from red --> its original background color). Then users can clearly notice the values changed.
As far as I und...
I have a NSMutableArray like this:
NSMutableArray *array =...; (array contain my custom object)
NSMutableArray *toRemove = [array getObjectsToRemove];
But when I try to call removeObjectsInArray ( [array removeObjectsInArray:toRemove]; ) it breaks my app! Can anybody tell me how to solve my problem :(
...
My iPhone app has an abstract class WorkingView. It is a subclass of UIView. WorkingView will in turn have a bunch of concrete subclasses. Two of those will be SimplifyView and MultiplyView.
I am trying to write the method that creates new instances of WorkingView. This method should have the mode passed in and return an instance of...
In my app button presents on navigationcontroller when I run app in portrait mode as well as landscape mode and clicked button due this it shows actionsheet according to their mode but when i clicked button in portrait mode and then truns the simulator in landscape mode and its also occur this same situation in viseversa form action shee...
Hi,
I want to use a MPMoviePlayerViewController with the control style set to:
MPMovieControlStyleNone
Now I need a way for the end user to close this MPMoviePlayerViewController window if they don't want to watch the whole video. I would like to have them double tap the screen and the MPMoviePlayerViewController would close.
Any sug...
Hello!
How can I simply go up one view in a UINavigationController from code?
So simple.. Thanks,
Christian Stewart
...
Beginner iPhone programmer here, so bear with me.
Here's the problem: I have a UITableView. I also have a search controller. When the text in the search bar changes, it calls the reloadData method which adds getDataInBackground to the NSOperationQueue. Once the operation is done, it calls [tableView reloadData] in the main thread. Here...
hello everyone,
I have needed to place contacts into blacklist.
Does anyone knows how can i place contacts in blacklist from my iphone ??
Any Private APIs ???
Thanks in Advance......
...
Hi,
Anyone got the following error?
-[UIDeviceWhiteColor intValue]: unrecognized selector sent to instance 0x14e490
...
An app consists rootviewcontroller(rvc) & its detailviewcontroller(dvc) and i wanna run app on both mode. rvc holds uiimageview & then tableview and dvc holds two buttons my problem is that
when i build & run the app its shows mvc perfectly on both mode but when i clicked one of table'cell the control goes to dvc in the case the simulat...
Heya again, I have been having problems creating a UISlider that can be used to modify a NSTimer I created. Essentially the slider is ment to modify the interger that the NSTimer is counting down from, but when I try to move the UISlider, the application crashes, I'm assuming this is because it is interfering with the countdown that is o...
Hi,
I have two NSMenus with the same NSMenuItems. Only one NSMenuItem in its NSMenu should be selected. (Kind of like an NSMatrix). So I connected each NSMenuItem to the same action and added an iVar for the index of the item with the NSOnState. Inside the method I set the state of the item with the old index to NSOffState and the new o...
I am attempting to use the below code in a function to return an array of dictionary objects. Unfortunately, after the return to the next function in the stack all of the rows in the mutable array have become 'out of scope'. From my understanding, the array should retain the row (dictionary) object automatically so even after the retur...
Hi all,
I am implementing an iPhone application. In that I need to use a timer to call a method to get the values frequently. And Also I need to stop the Timer in another method. So I need to use it as global. But I don't an idea to create a global Timer can you guys please help on this.
Thanks in Advance,
Sekhar Bethalam.
...
If a user has 2 or more quicklook plugins that handle the same kMDItemContentType what happens? Which plugin gets priority to do that actual work? Can that be set programmatically?
...
Hi all,
I am implementing a MapKit based application. In that I need to reload the map every 10 seconds. Is it there any property to reload the MKMapView? Please suggest any idea on this.
Thanks in Advance,
Sekhar Bethalam.
...