I'm writing an iPhone app against the Base 4.0 SDK, but I'm targeting OS 3.1.3 so OS 3 users can use the app.
I call:
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:YES];
which is deprecated in iOS 4.0. I'm aware of this, and have measures in place to call the newer "withAnimation" version if we are running under ...
Say I'm learning about the UIGestureRecognizer class. In the intro text it mentions UITapGestureRecognizer and UIRotationGestureRecognizer as two concrete implementations. But what other recognizers are there? This is just one example where I'd like to see a list of all the types in the framework that derive from a base class or implemen...
Hello,
I recently updated our test iPhone 3G with the latest version of iOS 4 to be able to test our apps on the new OS. I regret that I didn't read the forums because after the update the device's performance suffered a lot. However this is not a problem because the device still works. The problem is that when I try to debug our app th...
Dear stackoverflow Users,
while coding a little iPhone App with a friend, we decided to use Subversion to share the code. While doing that, we found some small annoyances but I#m sure they are a result of our lack of experience with iPhone Projects and SVN.
While this is only a fun and learning Project, both of us have there own provisi...
Hi
I recently upgraded my new iPod from iPhone OS 3.1.3 to iPhone OS 4.0 (8A293). However wen attached with xcode organizer i get following error.
OS Installed on Panks’s iPod
4.0 (8A293)
Xcode Supported iPhone OS Versions
4.0 (8A274b)
3.2
3.1.3
3.1.2
3.1.1
3.1
3.0.1
3.0
I tried to downgrade IOS to 4.0 (8A274b) however wen installati...
I am pushing a bunch of views to my navigation controller but on some nav choices I do not want to add them to the long list but I want it to show up at the front of the stack and get rid of the rest.
here is the behavior I am using:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
Navig...
Hey all,
I recently updated to iPhone SDK 4.0 and are no longer able to build my project for the iPhone simulator. The problem is that classes of one of my own libraries can no longer be found by ld:
"_OBJC_CLASS_$_Book", referenced from:
objc-class-ref-to-Book in Category.o
(maybe you meant: ...)
ld: symbol(s) not found
collect2...
Hi guys
I just downloaded XCode 3.2.3 with iphone sdk 4, but I need to compile my app with 3.1.3, but there is no option in the project settings for that (just 4.0 or 3.2). Is there any other possibility for me besides downgrading to XCode 3.2.2??
...
Hi, just wondering, how I go about detecting different keystrokes, and then detecting what key has been pressed I tried using this,
- (void)keyDown:(NSEvent *)event
but didnt seem to get any results. I've also had a search around but didn't find anything. I'm guessing I may have to set up something in interface builder to detect keystrok...
In certain locations in my application, if I place a breakpoint and go to that location the code window jumps me to _string.h (which is locked) to this function.
static __inline void *
__inline_memcpy_chk (void *__dest, const void *__src, size_t __len)
When I hit Step I am stuck, and all I see is _string.h. My code still executes ...
Hi,
I have successfully set up unit testing for an XCode version 3.2.2 project with the iPhone SDK version 3.1.2.
I have created a class, "Callout" which I am attempting to instantiate within the context of a unit test. The class has a method,
-(id) initWithDictionary:(NSDictionary*)calloutDict includesSong:(BOOL)hasSong lastUpdate:(N...
Hi gang,
I am trying to do a very simple animation, but it is giving me much grief... I must be doing some simple thing wrong and just missing by a bit my desired result.
As posted here: Rotating around a diagonal axis
I was trying to re-create a "Reversi" piece - a square which when activated would rotate about the axis Y=X, and cha...
I just went to submit my first app involving iAds, and in the beginning of the app submissions process there is a new button to "Enable iAds". I click and get the following error:
"You have no eligible bundle identifiers. Please register one here."
So i went to my provisioning portal, expecting to see a configure iAds option similar to...
Hello Guys, how are you all?
I'm having a problem with the new XCode and I think someone where maybe can help me to solve this out. I will really appreciate it.
This is my problem: I have an XCode project that contains about 10 different targets, each one has it own provisioning profile (com.domain.app1, com.domain.app2 ... for example...
i am using mkmapview to find userlocation.. And also i plot more location in mkmapview.. It works fine.. How can i find the shortest distance between user location and other locations..
...
I am using interface Builder to build a set of XIBs.
I can change the language programatically by reseting the NSUSerDefaults. If I then exit the program and restart it, the correct language xib is used.
But how can I reset all the views to the new language without restarting the app or alternatively how can I programatically restart ...
Hi, I have a text file with some strings in it, I am able to access the text from the file by using [NSString initWithContentsOfFile] function but what I want to do next is remove the whole text from that file but leaving the text file there as my application will continue to feed strings of message into the file. I've looked through NSS...
Hello,
EDIT: Issue has been solved(partially):It is a simulator bug. I've compiled and tested this on two devices with iOS 3.1.3 and 4.0. The exception was handled correctly. Be careful, the simulator is your enemy!
this is driving me crazy. I don't know how to enable exception handling in my project. Look at the code and debugger outp...
Hello ! Every one.
In my application I am reading an HTML page to a string.
HTML Page contains many tags, new lines & many other characters.
<style type="text/css">
h3{
font-weight:bold;
line-height:18px;
font-family:Arial;
font-size:12px;
text-align:justify;
color:black;
...
Hey guys
I'm writing for iPhone, OpenGL ES
Do you know how can I draw quad with part of particular texture?
Now I'm rendering like that:
static const GLfloat texCoords[] = {
0.0, 0.0,
10.0, 0.0,
10.0, 10.0,
0.0, 10.0
};
glBindTexture(GL_TEXTURE_2D, atlas_tex[0]);
GLfloat squareVertices[] = {
0.0f, 0.0f,
2000.5...