I'm trying to build an iOS4 app (not universal) that will also run in compatibility mode on the iPad. So I set the Deployment Target to 3.2 and the Device Family to iPhone.
This works fine in adhoc builds, but when I try to upload it the the store, Application Loader complains: “This bundle is invalid. An application targeting the iP...
Hi there
I can't work out how to set the previewItemTitle property for my QLPreviewController class. Its seems a bit strange as the iPhone developer document for this class says that that property is @property (readonly) which would mean that I cannot set it.
Any ideas. Thanks
My code:
QLPreviewController *preview = [[QLPreviewContro...
Hello everyone,
is possible build an iPhone project from Mac os x terminal and without an xcode project?
I'd like to make an iPhone static library without create and using xcode project and only with the terminal.
Thanks
...
I am trying to achieve an effect similar to the globe of the ABC News iPad app. (Google Images Examples)
Is it possible to get this effect by transforming CALayers? Or is this using OpenGL and fragment/vertex shaders?
CALayer provides access to the transformation matrix, is there some math that can be applied to this rather than transf...
Hi Guys,
Spare me if you find this too basic and generic. But i hope answering would benefit lot of noobs out there like me.
Why we set Delegate to self?
Thanks,
Taimur
...
I have a requirement in my app which requires me to display some message to the user if there is no activity happening for about 3 hours on the app/ipad.
I considered the solution of having an NSTimer that would start at launch. If the user performs any action, I invalidate the timer and start a new one. However, there is video playback ...
I have a splash screen in my app which is working fine other than the fact that the image seems to stretch slightly vertically when loaded.
The image is 320 x 460.
Any idea why the stretch is occurring?
...
I have a grouped UITableView in my UIViewController class and I'm finding that at times, the dequeued cell is not nil as expected.
The table has 3 sections to start with and and as soon as the 'viewDidLoad' is invoked, a server call is initiated to find out if there are more sections. Before the view is even rendered, the server's respo...
I have an embedded website that has many links but the webview window is fairly small to allow for a larger image above the list to be zoomed in and out. I need the webview to respond to hyperlinks into a new controller view with a second embedded UIWebView if at all possible.
...
Hi I've just installed the new iPhone SDK and noticed that the samples are missing but instead found at http://developer.apple.com/library/ios/navigation/index.htmlsection=Resource+Types&topic=Sample+Code
I still remember the old SDK has samples bundled with it, so does the new SDK contain about the same number of samples compared t...
Hi,
I'm trying to find a way to detect when some iPhone device is near another device (which could be another iPhone, a PC or another kind of sensor/device).
Anyone knows how this could be accomplished? I've thought in the direction of bluetooth, but as I understand - some pairing must be done before. Can this be accomplished without p...
I would really like to see every method, delegate, notification, etc. which is called / sent while I run my app in the iPhone Simulator. I thought the right place for this would be in the debugger, but I can't find the right setting.
My target is to see all that is happening in the background while I, for example, add a row to a UITab...
Has anyone found a halfway decent guide to implementing Reachability on iOS4? I have yet to find one.
Thanks in advance!
...
I have table view which is in a view controller that inherits from UITableViewController.
I use a NSFetchedResultsController that I use to fetch the table data from my core data store. I've tried it with both caching on and off.
I set the delegate of the NSFetchedResultsController to be self and I've implemented controllerDidChangeCont...
I am looking for information on how to create and run a simple server game that will take turn information from one user, do some number crunching and pass the resultant information on to the other players in the game.
What I am looking for is a push in the right direction. While I have been coding for the iPhone for almost two years n...
I'm trying out this nice way of customizing grouped UITableViewCell backgrounds:
http://code.coneybeare.net/how-to-make-custom-drawn-gradient-backgrounds
I've implemented it in a test app and it works great, except for one thing... when rotating the device, the cell background is stretched, making the corners look distorted.
Is there ...
Can someone confirm that checkResourceIsReachableAndReturnError method of NSUrl is working as expected. I have tried using it for known URLs and it is always returning FALSE. I am using XCode's iPhone Simulator 4.1.
Thank you.
...
Is it possible to apply an affine transformation to a view directly in Interface Builder? I know I can attach an outlet and assign it to the transform in code, but I'd like the convenience of visually tweaking the transform in Interface Builder.
...
Hello,
I'm using this code after in my ViewDidLoad method :
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:.5];
self.view.frame = CGRectMake(0, 0, 250, 50);
[UIView commitAnimations];
It's working fine but if I try to do the same thing in an other method in the same implementation file like this :
- (void)s...
I have a problem with an Objective-C object (in an iOS game app) that is being mysteriously deallocated.
The object is a GameCharacter instance which is instantiated like so:
for (int c = 0; c < kNrOfGuards; c++) {
GameCharacter* guard = [[GameCharacter alloc] initGuard:self sprite:guardSprite];
[characterArray addObject:guard]...