I'm planning making a game for AppStore, so I'm studying GLES.
But, GLES 1.1 and 2.0 APIs are different about handling in some features.(and limitations)
I have not enough time to consider both of them, I have to choosing one.
2.0 is clearly better in developer's view, but I'm worry about it's market share. I wish most users moved on ne...
I am developing an iPhone app that polls an internet web service. The poll rate will decay from once every 20 seconds to once every 15 minutes if the iPhone is sitting idle in a dock running my application. If the user taps the screen or begins moving around the UI I need to revive the polling rate back up to 20 seconds.
Is there a univ...
Hi guys...
It seems my questions are strange and i'm not getting enough help but I'm back.
I've another strange question which needs to be solved in emergency.
I'm developing an iPhone app. which uses libssh 2 for commands execution through iPhone over remote host. It's okay and working all methods and commands if i execute them in sin...
Hi. I am using FBConnect in my app. The log in action sheet buttons are title "Log in Facebook" and "LogOut Facebook" but I want to display "Log into Facebook" and "Publish to Facebook". Currently, it looks like this...
...but I want it to look like this...
... possibly set in these methods:
- (void)session:(FBSession*)session did...
hi all,
I have seen some similar questions on stackoverflow and on searched on google too but could not get a satisfying answer.
I am doing an application in which data is shown into a table. Now on selecting a row I need to now that if this will lead to a page where I am expected to see feeds. I am trying to detect the url via this me...
Maybe someone knows what this means?
error: can't exec '/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2' (No such file or directory)
I wanted to use LLVM GCC 4.2 compiler because an Apple guy said that's the best one. I guess LLVM GCC 4.2 does not work with iPhone OS 2.2.1 framework?
...
How can I check missed call in iPhone using Objective-C?
...
I've got a textfile (songlist.txt) which my app retrieves from a server and stores locally. When I try to use the content of the file in my app I am getting unexpected results. When I looked into the issue, I found that strange characters sometimes were appearing at the end of the NSString contents of the textfile.
Why are these strange...
Is anyone aware of a version of the iPhone UISlider control with two thumbs? I need a control that will allow specifying a range of values. The UISlider API docs would imply this isn't possible with the standard control, so I was wondering if anyone had a solution for this (or had solved it themselves).
...
I try to do a CAKeyFrameAnimation for rotating an layer:
CALayer* theLayer = myView.layer;
CAKeyframeAnimation* animation;
animation = [CAKeyframeAnimation animationWithKeyPath:@"transform.rotation.z"];
animation.duration = 1.0;
animation.cumulative = NO;
animation.repeatCount = 1;
animation.removedOnCompletion ...
What is this 0 to 1 thing exactly? How could I rotate the layer absolutely to 170 degrees, for example?
CALayer* viewLayer = myView.layer;
CABasicAnimation* animation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"];
animation.fromValue = [NSNumber numberWithFloat:0.0 * M_PI];
animation.toValue = [NSNumber ...
I have a Tab Bar controller inside a Navigation controller. I want to create a view, with a single 320x411 image (leaving the status bar, and the tab bar).
The image is shown for a network connection error.
Currently I'm using this code, in the tab bar item's individual view's viewDidLoad:
if (appDelegate.hasInternetAtStart == NO) {
...
How do I save an NSString as a .txt file on my apps local documents directory (UTF-8)?
...
I'm implementing a map application similar to the maps app and I'm try to add zooming. I have multiple detail levels, e.g. 6, and I want to use the appropriate level for the current zoom scale. I'm using a CATiledLayer in a UIScrollView. So far I can set the min/max zoom in the UIScrollView, drawLayer gets called and I draw the appropria...
Hey,
I'm just trying to write a view based Application, which only uses the landscape Orientation.
Using this Code:
application.statusBarOrientation = UIInterfaceOrientationLandscapeRight;
in the ApplicationDidFinishedLaunching Method the Application starts in landscape orientation.
The problem is, that if I create a landscape view ...
How do I store an NSMutableArray to Disk on an iPhone app for later retrieval?
...
Does the iphone sdk support playing mp4 files from RTMP streams? I am looking to store the files in CloudFront (in a bucket marked to stream) and would like to have an iphone app be able to play them. Is this possible, or am I better off storing the files as mp3 on CloudFront and not enabling streaming via RTMP?
...
Is there any way to quickly test whether an MKCoordinateRegion is good or not? I've swapped latitude for longitude and caused an application crash. I'd like to be able to see whether it's possible to perform a setRegion before I actually do it. Will MKCoordinateRegionMake test the values I give it?
Thanks.
...
i'm trying to release UIWebView object but it not free memory.
is it have any reason?
...
In my app, I have some movies playing. I have checked the information for the movies and they appear to be within what MPMoviePlayerController should be able to handle (bitrate, etc.)
They're streaming from a URL, and it will only play on a 3GS, nothing lower. I have tried to collect the error from the notifications in MPMoviePlayerCont...