In the iPhone maps app there's a toolbar at the bottom of the map view (it contains the Search/Directions segment control and others). When moving from the map view by clicking on a callout, the toolbar slides out with the map view, leaving the next view (a table controller) with no toolbar.
I've tried to do the same thing with [self.n...
Hi - Im trying to find a way to programme/buy an app to use the iphone to detect someones skin tone against an objective scale using RGB froma phot they take of themselves. Anyone got any pointers?
...
i like to animate my image "finga" not centered but from left or right:
[UIView beginAnimations:nil context:nil];
[UIView setAnimationRepeatCount:1];
finga.transform = CGAffineTransformMakeScale(2,1.5);
finga.animationDuration = 2;
[UIView commitAnimations];
...
What is the difference between atan2(x, y) and atan2(y, x) in acceleration code (iphone)...
Can you tell me briefly ?
...
I'm trying to make a 2d shooter game with 3d background.
The player and enemies are essentially just quads with textures.
The background will be simple 3d polygons with textures and some fog and light.
Therefore, I don't need a really powerful 3d library.
I tried Unity3D and Torque2D, but I don't like to use their GUI editors. I pref...
First up, i realize this application has some design issues and while rewriting a huge chunk of it would probably solve my issues, I'm looking for a way to make things faster right now.
Basically I've got
viewController = [[MyViewController alloc] initWithNibName:nil bundle:nil];
viewController.view;
where MyViewController.xib is a ...
i am using ASIHTTPRequest for downloading file from server but its giving error
Failed to move file from '/Users/admin/Library/Application Support/iPhone Simulator/3.1.3/Applications/8650FFE4-9C18-425C-9CEE-7392FD788E6D/Documents/temp/test.zip.download' to '/Users/admin/Library/Application Support/iPhone Simulator/3.1.3/Applications/86...
Hi everyone ,
In my view this is one of the strangest problem i have ever come across in iPhone app development.
Let me explain the scenario , i have main screen 'A' on which i have a Button that directs me to another Screen say 'B'. Now on Screen 'B' i have a feature in which user can send a mail to his friend for promotion purpose e...
I'm running the app in landscape mode.
What care do I have to take so that the screen shot taken is also in landscape mode.
I'm using the following code in iphone app with tabbar at bottom and taking screen shot, but its always in portrait mode only. why?
UIWindow *screenWindow = [[UIApplication sharedApplication] keyWindow];
UIGraphi...
Hey,
I have a UIView with several subviews: one UIImageView and a couple of UIViews. When I change the frame property of the view, the imageView's size changes accordingly, but the rest of the subviews remain in their original size!
I can't figure out what I'm doing wrong. Can anybody help?
Thanks,
...
Is it possible to do programming using iPhone? Any idea?
...
Hello.
I've done some apps on iPhone using Objevtive-C and Cocos2d, and I'd like to start learning 3D.
My first goal is to make a very simple app that:
- Displays a 3D cube in the center of the screen.
- And move the camera around the cube
I want something very simple: no texture, no background.
Where should I start to be able to do th...
Hi,
I have a custom view controller that I push onto my navigation stack as follows:
myViewController *myVC = [[myViewController alloc] init];
[myVC generate:myData];
[self.navigationController pushViewController:myVC animated:YES];
the code runs fine, but when checking for memory leaks I get a warning that myVC is never released.
ad...
Is there any property or other mechanism in iPhone OS to check during runtime whether application is running on iPad 3G or iPad Wi-Fi?
Seems like UIDevice class does not provide anything like that.
My application is using internet access extensively and I would like to explicitly warn user that on 3G delays or additional costs can be ex...
i am calling the data from xml in table view. after the the first row of data in tableview, my second row is empty in tableview, and from third row data is available. but my last data for row is missing from tableview, because of the second row.
how can i fill that second row.
this is my code:
- (UITableViewCell *)tableView:(UITableView...
How can I use MFMailComposeViewController to send both an HTML and fallback plain text version of an email? The API has a method for setting the message body as either/or, but not a way to specify both. I have seen other apps do it (such as Doodle Jump), so it must be possible.
...
Hi guys,
I need to implement a 1 level outline view out of UITableView. The cells which have children in them will have a '+' symbol and if user taps on it, the cells below it should slide down and the children cells of current selected row should appear. The sliding of cells should be visible and if the user taps '-' button of the alre...
Hi Everyone!
Yesterday I felt in big issue that happens with all my projects. After I installed new Xcode 3.2.3 (for iPhone OS 4), all my projects started to spit out the "referenced from:" errors. I noticed that in new Xcode all the iPhone SDK versions earlier than 3.2 removed. But I have a projects that built perfectly for iPhone SDK ...
Hey,
here is a quick question,
i have my couple view controllers classes, and have some other classes.
i've found my self creating some methods in all of their implementation files, which are doing the same.
i would like to write some of my methods in a seperate file,
and import this file into my view controllers.
therefore, i will be ...
I have a tabbar based app. In the app delegate, I've implemented:
- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController{
if([viewController isKindOfClass:[TabBNavigationController class]]){
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
[...