I am trying to authenticate a GKLocalPlayer with Game Center. However, the code supplied by Apple
- (void) authenticateLocalPlayer
{
[[GKLocalPlayer localPlayer] authenticateWithCompletionHandler:^(NSError *error) {
if (error == nil)
{
// Insert code here to handle a successful authentication.
...
Is there a list somewhere of all iProduct USB prodcut ids? I use the IOKit to get notifications for attached/detached USB devices and would like to identify the device. Currently i get the device name and search for "iPod" and "iPhone" but i guess that's not really safe since it could also be an accessory (or could it?).
Regards,
Erik
...
Hey you guys :-)
Recently Apple, made an announcement about you now can code in other programming languages. So well i thought nice! Finally i can make iphone apps.. But i can't figure how to code the apps i Ruby.. So i googled - a lot! and did'nt find anything.. so if someone out there know anything.. tell me! :-)!
/Oluf Nielsen
...
I created a Word document with an image in my windows pc and saved it as mine.docx.Then i transferred it to my mac.When i opened it there the image just doesnt show up in the document.Doesnt mac support .docs with images??The apple tech forum says there is support for .doc but there is no mention about images.Also the documents icon has...
Hi I have several apps using a MPMoviePlayerController. These apps play HTTP Live streaming video fine when compiled with the older SDKs but with 4.1 on the iPad (3.2) the apps will only play audio and the standard controls are not showing. On iPhone devices (any version) it plays the videos just fine.
The code looks like this:
mMovi...
From iPhone Os 3.0, Apple released Auto-login and join functions for captive protals. So can not using http automated authentication for hotspots to login.
Does anyone know how to disable the features programmatically ? I heard, the app, Boingo, implements the disable thing. At this time, I really need it.
...
Hi Everybody,
Ok, it's a noobie question but I have to start somewhere. I have a PowerMac G4 computer, the one with the AGP graphics card. I'll like to run the XCode development environment and code Apps for the iPhone. When I download the development pack from Apple, it won't run on this computer.
I would guess that only the 'new...
I saw page when I was Searching with the key word "Open source"
http://www.opensource.apple.com/release/mac-os-x-1064/
I just want to ask whether it is possible to build a entire OS using the source code ?
and if yes then what exactly needs to be done.
...
Do Nib files automatically initialize certain properties?
In most objective-c code I've seen, you initialize a pointer with:
MyObject* obj = [MyObject alloc];
[MyObject doStuff];
[obj release];
However, with certain objects (like ViewController Subclasses) UIView objects are used without being initialized, and aren't ever released. D...
HI i am using zxing API into my application and it says that the application cannot be posted to the App Store because it is using private or undocumented APIs:
Private Symbol References
UIGetScreenImage
can somebody help me out as soon as possible
...
I extract nodes from an XML document by calling -nodesForXPath:error:. Now i wonder if it guarantees, that the nodes are returned in the same order as they appear from top to bottom in the document (it's crucial in my case).
My XML looks something like this and i retrieve the b tags with the XPath query:
<a>
<b>
...
</b...
Is there any way to determine in code whether the app currently running is a developer, ad-hoc, or app store build?
...
Hi Everybody,
I'll like to buy an Apple computer to develop Apps for the iPhone. I am a hobbyist, not a professional programmer and I would favour a laptop for portability.
Going by Apple's website, the standard MacBook looks Ok for me. I don't need mega performance, provided I can write, compile and test iPhone Apps at an acceptabl...
Hi Guys,
We are company with 10 iOS developers. Do we need to purchase developer license for each machine? Or is there any concept of purchasing bulk licenses? Like what is the alternative of single user license?
Regards
...
After I complete my application, and want to hire a designer to work on the "user interface" what files do I supply him with?
(I dont want to give him my entire app with source code, to the designer, is that possible to get get the interface done?)
thanks.
...
I need to handle HTTP URLs that begin with a certain domain with my app, because it points to a REST source. The web service however is not under my control, so i can't easily introduce a custom url scheme to open the links with my app.
Is there a way to intercept and handle such URLs in a Cocoa app?
Example: http://static.domain.name/...
I'd like to override the default system control tint for my app to be always NSGraphiteControlTint. The following code doesn't seem to work though. Any suggestions?
NSButton *button = [window standardWindowButton:NSWindowCloseButton];
[[button cell] setControlTint:NSGraphiteControlTint];
Regards,
Erik
...
REF: XCode
what is the differences between view based vs windows based iphone application?
Where are you going to use view based and windows based application?
Example? what does facebook use?
...
Why won't Apple support websockets on IOS Safari?
This is really annoying for me...
I'm now looking at having to implement a Comet/Bayeaux fallback for browsers that don't support HTML WebSockets ;(
...
A few days ago a client asked me if the transition to the iPhone 4s retina display was a difficult one, development-wise.
This made me ask myself whether I should have considered iPhones with high resolution dispays even before the iPhone 4 had been announced - creating artwork with higher resolution, preparing codepaths... (while, of c...