How do I determine programatically whether or not the iPhone is in manner mode? And is there a way to tell if the headphones are connected?
Edit: This is also called silent mode in some parts of the world.
...
Hi ,
I am using SnowFall app, in which a image is falling from top of screen to bottom. This app uses animation to achieve this task.
// put the flake in our main view
[self.view addSubview:flakeView];
[UIView beginAnimations:nil context:flakeView];
// set up how fast the flake will fall
[UIView setAnimationDuration:4 * speed];
...
hii
i want to indicate two location on map kit . i have co ordinate of two location on which i want to show pin.for this i m using addAnnotations, method and passing an array of annotation. But it not working ...
need urgent help..
...
Hi All,
If i apply tel scheme in view 2.
After the call ends the app terminates.
Suppose my first view is login screen .
So wen the user logins he gets its state saved.
How can it be done ?
Help me Friends..
...
I'm having trouble with a snippet of code. I'm trying to add an instance of CLLocationCoordinate2D to a NSMutable array using the addObject method, but whenever the line is executed, my app crashes. Is there anything obvious wrong with this code?
The crash is on this line:
[points addObject:(id)new_coordinate];
Polygon.m:
#import "P...
I'm having problems using AudioQueueOfflineRender to decode AAC data.
When I examine the buffer after the call, it is always filled with empty data. I made sure the input buffer is valid and packet descriptions are provided.
I searched and found that a few others have had the same problem:
http://lists.apple.com/archives/Coreaudio-api/...
Hey guys,
I have an app that communicates with a server that uses HTTP Digest authentication.
It seems to me that the 'session' management within the iPhone is pretty "black box" to us developers. Is it true that we can't see how the framework handles / persists http sessions?
If I'm just being dim here, would someone care to explain ...
I'm just beginning to try out development for the iPhone. My requirement is very similar to thar provided by a UISegmentedControl except I need custom buttons instead of those in a UISegmentedControl.
Here's more detail:
I need one view controller which loads the first view having 3 custom buttons on the top. Below the buttons, I need t...
Hello
All iphone developers ,
I am creating an iphone application in which i want the same facility as user taps on the call button and make a phone call to that person.
Can anyone provide me some code snippet or reference links.
...
After post-producing the pictures taken with the iphone camera and saving them to the camera roll, I see the final result is being saved without the orientation information.
When the iPhone reads these pictures, it reads orientation = "0", that is "taken with the iphone button on the right", and that messes all up.
How do I save the or...
I am trying to count total photos on the iphone and get the total filesize. What is the best way?
...
I have 2 views which transition into each other using the ...
[UIView setAnimationTransition:UIAnimationTransitionFlipFromLeft forView:self.view cache:YES]
My views both have a black background and when they flip over the colour underneath is white. I want to change this to something else. How do I do this? I have tried searching b...
Hello All,
How can i Pick more then One Image from the UIImagePickerController?
...
I'm signed in the standard program of iPhone Developer Program.
How many apps can I distribute with my account?
EDIT: I want to distribute my apps only using AppStore
...
hi,
i tryed to create a own GUI component with cocos 2d... i haved written a class (extends Sprite) ... this class initialize with graphics and a lable... if I create an instance of my class .. i can see my component but i can user any functions... i wrote a setLabel function .. but the lable change...
i create a instance with this cod...
Hi,
I hope someone can tell me why I'm wrong. Here is a snippet of my code:
TimeLogAppDelegate *appDelegate = (TimeLogAppDelegate *)[[UIApplication sharedApplication] delegate];
PickFromListViewController * pl = [[PickFromListViewController alloc] initWithNibName:@"PickList" bundle:nil];
pickList = pl;
[pickList setSearchItems:[appDel...
I have a custom UITableViewCell with a UIImageView that is overlapping the round corners on the first and last cell. Given that I am able to determine which cell is the first/last, is there an easy method for rounding a single corner (either top-left or bottom-left) of a UIImage so that it will look good?
...
Hi!
I have an UITableView and I want to populate it with data from this page: http://tvgids.mobi/gids/ned1.php
I have this code:
NSURL *urlll = [NSURL URLWithString:[NSString stringWithFormat:url]];
NSString *test = [NSString stringWithContentsOfURL:urlll];
UIAlertView *av = [[UIAlertView alloc] initWithTitle:@"LOL" message:t...
I am specifying the dimensions of a UITabBarController, which is positioned at coordinates 0x 40y on the screen. I then call a ABPeoplePickerNavigationController to view a contacts list. I was able to specifiy the location of the contacts list to match the position of the UITabBarController. However, I am having problems restoring the UI...
O.K. So this is a masked answer in a question.
I found my answer and I thought I would share so that it would help others who may be trapped in iPhone app deployment hell, especially on iTunes for Windows.
When attempting to install an app via AdHoc or Enterprise distribution via iTunes for Windows I would get the error 0xE8008017 "una...