I want to add an overlay view for my video when the video is paused by the user. Is there any way to get the pause notification from MPMoviePlayerController?
According to Apple Doc, there should be ways to do this but I can't find which notification should I use for this purpose.
Quote:
In addition to being notified when
playbac...
Hi there,
I was wanting to use a plist to populate my grouped table. I've had a look at the DrillDownSave sample project, and I'm still none-the-wiser. Although, I did learn that I could store hierarchies and suchlike in there.
So here's the questions:
How can I use my plist to add new items to my grouped table? I'm currently feeding...
Am I correct in thinking that to change the checkmark for "on" to "off", I must change the CellAccessoryType between none and checkmark on the didSelectRowAtIndexPath?
Because I have done this but I have noticed the behaviour is not perfectly identical to like the checkmark cells on the auto lock settings on the iphone.
Or is there som...
The question is rather simple. I know that there is SQLite. There is Core Data also. But I need something in between. More object-oriented than SQLite API and simplier than Core Data.
Main points are:
I need access to stored entities only by id. No queries required.
I need to store items of a single type, it means that I can use only ...
Hello,
It is possible to change iPhone settings from an application?
I want to change settings like enable/disable WIFI, enable/disable vibrations, change ring tone, enable/disable bluetooth, call forwarding, mail accounts, etc. I want to be able to change all settings programmatically. I would appreciate some sample code.
Thanks for ...
In the app I am working on now I was storing about 500 images in Core Data. I have since pulled those images out and store them in the file system now, but in the process I found that the app would crash on the device if I had an array of 500 objects with image data in them. An array with 500 object ids with the image data in those objec...
I want to be able to display an image on the iPhone when the device is shaken. I can play a sound but also want to pop up an image at the same time.
Any ideas on how to do this would be appreciated.
thx,
wes
...
In viewDidLoad, I can create a gradient with no problem:
CAGradientLayer *blueGradient = [[CAGradientLayer layer] retain];
blueGradient.frame = CGRectMake(gradientStartX,gradientStartY,gradientWidth,gradientHeight);
where gradientWith is device-defined as 320 or 1024 as appropriate.
What I can’t do is resize it inside willRotateToInte...
I am using a ABPersonViewController & ABNewPersonViewController class by pushview controller.
ABPersonViewController *pvc = [[ABPersonViewController alloc] init];
[pvc setPersonViewDelegate:self];
[[self navigationController] pushViewController:pvc animated:YES];
In ABPersonViewController & ABNewPersonViewController page it is display...
Hi,
I am facing a problem while XML parsing.
I have an NSMutablestring currentElementValue that has newlines into it. It has been received as an XMl from a web source.
Even when i am trying to remove newline charactersets of substring the first 3 char there is no effect on the string.
What can be done here?
Regards
PC
Code is
(void...
The Keychain seems to be used a lot for usernames and passwords, but is it a good idea to use it for other sensitive stuff (bank details, ID numbers etc), but with no password? What kind of encryption does the keychain use? The scenario I'm concerned about is a thief acquiring an iPhone (which is screen-locked) and being able to access t...
I'm working on iphone app.
I know my current location (latitude and longitude) and destination's (latitude and longitude).
How can I use "Google maps" to find the directions. URL for google maps is something like "http://maps.google.com/maps?daddr=San+Francisco,+CA&saddr=cupertino"
From above URL, inspite of source and destination p...
Suppose you have three points of contact on the iPhone screen and one of those touches moves...
The touchesMoved method will be invoked and the [[event touchesForView:self] count] will be equal to '3' because there are three touches for the event, but how can you distinguish between the touches? For example - find out whether it was th...
Right, I'm trying to make an app that has a calculation that involves a stopwatch. When a button on the calculation view is clicked a stopwatch slides in from the bottom. This all works fine, the problem I can't get my head around is how to send the recorded time back to the previous controller to update a textfield.
I've simplified the...
Hi,
Is there a way to disable the Javascript in a UIwebView ?
I have memory consumption problem, and I'm looking for a trick here because it seems to not be be possible with the official stuff.
Maybe a call with javascript can stop javascript itself, i don't know.
Thanks in advance for any help,
Adrian C
...
What is the best was to determine if an NSString is empty? Right now I am using the following:
if (string == nil || [string isEqualToString:@""]) {
// do something }
Thanks for any advice.
...
hi all ! Newbie need help !!!
I have a plist made of string, what i'd like to do is to replace the content if this plist by the content of an another array is it possible ????
thanks to all !
...
Hi,
I'm looking for a free solution just to learn how to develop applications for Blackberry and iPhone on Windows that includes a Blackberry and iPhone simulator.
The closest program I came across to this was DragonFireSDK but its not free. Any suggestions?
...
Hello,
I just finish my iPhone game using cocos2d, and I want to submit it to Apple.
I've read this article: Building Your App for Distribution, and they say:
4 If necessary, adjust the base SDK for the device you want to deploy to. (e.g. iPhone Device 3.0, or whatever minimum version you want to build for.)
I want to put "iPho...
Hello All,
Ive been following a tutorial to implement a search bar ( http://www.iphonesdkarticles.com/2009/01/uitableview-searching-table-view.html ) However I cant seem to push different views. Here is what my didsSelectRowAtIndexPath looks like.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexP...