Is there any Custom Youtube player API Available for iPhone SDK?
Because I want to hide Youtube player after some seconds in iPhone.
That is not possible in in-built youtube player for iPhone.
...
in my application i have a voice who play every 30 min i put my code in
- (void)applicationDidEnterBackground:(UIApplication *)application
it's working great on simulator and on device but when someone call me or i call someone the application will terminate and don't play the sound again :(
can anybody help me to solve the problem ?...
Hi,
I have to token the string and get a RGB values to make a UICOlor, below is the code,
NSString* text = @"1.0,1.0,1.0";
NSArray *chunks = [text componentsSeparatedByString:@","];
return [UIColor colorWithRed:([[chunks objectAtIndex:0] floatValue]/256.0)
green:([[chunks objectAtIndex:1] floatValue]/256.0)
...
Greetings,
being a newbie with these kinds of things, I'd just want to know how to do RSA encryptions in objective C? I shall be using it on an iPhone app I'm developing
if anyone could point to a simple tutorial on the matter, it would be greatly appreciated.
Thank you in advance
...
In our iPhone app we have a controller 'AddViewController' which shows a data entry screen to add a new entry. It includes Save and Cancel buttons.
Currently if a user enters nothing at all in any of the text fields and presses Save the app crashes.
(Yes I know it's silly for someone to do this, but hey just covering off on everything)
...
Hey everyone,
I'm trying to integrate push notifications into my upcoming app and have been looking around at possible options. I've seen AppNotify and Urban Airship, but honestly? I'm not keen on paying if I can avoid it - is there a free way to send push notifications once in distribution or not? I've managed to get it running on a 1 ...
I'm developing an iPad application and I'm not sure what's the best way to store application data. So far I've been using a .plist that stores hundreds of strings for a puzzle game and that works great, but if my app is to be any good, it's going to have to store tens of thousands of strings (representing pre-made puzzles).
I've read t...
Hello everyone,
I am developing a mapview application.When i look to instruments i see no leak in my application which is good.But my problem is whenever user scrolls,zooms in,zooms out the map,default mapview starts to allocate memories of MBs.When my application reaches about 25-30 mb then map releases some data which is about 5-6 mb s...
Hi can anybody help me with video capture code for iPhone4.
i am using the following code but it does not work:
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera;
NSArray *arraySourceTypes =[UIImagePickerController availableMediaTypesForSource...
hi,
i am trying to call and alert when a button is pressed. i use this :
-(IBAction)Add
{
UIAlertView *alert = [[UIAlertView alloc] initWithTitle: @"add button pressed"
message:@"Add to record"
delegate:nil
...
I have set the base SDK to iPhone Device 4.0 and the deployment target to iphone OS 3.0 in the "Targets info" section as well as the "Projects info" section found under the "Groups and files" section.All the certificates and mobileprovision files matches exactly.When i try to upload in iTunes using "Application loader".It's showing me t...
I am copying a mutable array like this:
//copy players' info into playerList from a dictionary
playerList = [[NSMutableArray alloc] initWithArray:[params objectForKey:@"p"] copyItems:YES];
The items in the array implement copyWithZone like this:
- (id)copyWithZone:(NSZone *)zone
{
PlayerInfo* copy = [[[self class] allocWithZone:zo...
I've implemented a small proof-of-concept app using Core Data to accept some object attribute values from the user via text fields and it's all working great thanks to information found here and in the iPhone Core Data Recipes app. But I'm at the point where I need to display object validation errors to the user and I can't find a recom...
Is there a library to render mathematical equations that can be used in iPhone OS?
I would be very happy with a library that renders MathML or LaTeX to a format that iPhone OS can display.
If the lib were licensed under BSD (or similar), that would be perfect.
...
I would like to create a view like the notes app on iPhone and therefor need the view to have ruled lines as per the notes app, I have done this in windows where you need to get the font metrics and then draw the lines onto the device context, has anyone done this in the UITextView if so some help would be appriciated
...
Hi,
I'm trying to use KVO to observe a mutable array :
How can i use NSKeyValueObservingOptionNew and NSKeyValueObservingOptionOld to get the objects that have been inserted or removed ?
Here is what i tried :
in the viewDidLoad method :
[self addObserver:self
forKeyPath:@"recipeList"
options:NSKeyValueObservingOptionNew |
...
I d'like to combine a UILongPressGestureRecognizer with a UIPanGestureRecognizer.
The UIPanGestureRecognizer should start with a long press. Is there a simple way to do this? or do I really have to write my own gesture recognizer?
I wan't something like on the home screen. You press on an icon and after some time the icons start wobbl...
When there is magnetic interference the built in heading calibration message is displayed.
Also I noticed that if location is not available, magnetic heading is valid but not true heading.
So what is the standard or best way to handle invalid heading updates?
Should I just keep waiting for a valid heading to be received or show some cu...
I have a custom class full of BOOLs, ints, NSStrings, NSMutableArrays etc.
Is there a way to save the class as a whole to NSUserDefaults (and load it)? If so, how would I do it?
...
Has anyone had any success creating an info button (italic 'i' in a circle) in code (read: without Interface Builder), and then assigning it as the right bar button item of a navigation bar?
I've looked everywhere, and I can't even find how to create an info button in code. Any help would be greatly appreciated.
...