Hi,
In one of my projects, I am using the json-framework library. Everything was working fine, but after upgrading to Xcode 3.2.3, where the oldest simulator available is 3.2 I get the following compilation warning and subsequent (I'm pretty sure related) errors:
warning: in /Users/yahuie/Desktop/pinnionRepo/Tabs copy/Classes/JSON/iph...
In a web application I'm working on, I decided to consolidate a few buttons by turning them into select elements of one dropdown list, with onClick events loading for each option pressed. However, this does not work in iOS (Safari on the iPhone). Is there a different event I can use to grab menu selection from Safari for iPhone?
...
If been looking around the web and can't seem to find any good solutions to sending allowing your user to submit bug reports from your iPhone app.
How do you handle crashes and exceptions?
Do you send the error user-data to a server,
grab a log file from somewhere and attach,
or do you ignore it and pretend it never happened?
Anybod...
Hi,
do you think it would be possible (legally) to use the iAd JS framework (the one that is provided for the developers for creating the ads) to create the whole iOS web application itself?
I've tried reading some legalese (iAd Network Contract) but it doesn't mention about in what ways I'm allowed to use their JavaScript framework.
...
I would like a map inside my iphone app which I want to query with search terms depending on certain values.
Does the mapkit framework accept queries of e.g. The United States and then display them?
I know this is really simple compared to the uses available from mapkit, that is why I wonder if it is covered?
...
[request setReturnsDistinctResults:YES];
does not return distinct results for NSString *attribute?
for below example structure I have 17 managedObjects of kind Values with attribute assetGroupName and I am trying to fetch all distinct assetGroupNames value like
[request setResultType:NSDictionaryResultType];
[request setReturnsDis...
I am trying to draw point sprites with OpenGL ES on iPhone. It's possible there could be very many of them (1000) and up to 64 pixels wide (maybe that's my problem right there - is there a limit or could I be using too much memory?)
I am using CADisplayLink to time the frames. What happens is that the first gl drawing function tends to ...
Hello,
I need to show an Activity Indicator to the user during a database operation that takes some seconds.
I have the UIActivityIndicator configured and working, but when I call [myActivity startAnimating]; and the next call is to do the database operations it never shows me the activity.
I think this could be solved by doing an as...
I'm trying to retrieve the image data from one uiimage, modify it, and create a new uiimage from it. To start, I tried just copying the data without any modification to get the basics down - but that fails (UIImage +imageWithData: returns nil). Can anyone see why this wouldn't work?
// I've confirmed that the follow line works
UIImage...
I have a static library build for iPhone/iPad and I want to show a pop up right at the initialization (before the main).
My library initialize itself with:
int InitLibrary( void ) __attribute__( ( constructor ) );
And Im trying to put the following code inside InitLibrary:
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:[ NS...
I have a UIView which has several buttons added to it as subviews. Currently I have the buttons in drawRect:, which I have heard is a bad idea because drawRect can be called several times. I tried to move these UIButtons to initWithFrame, but they just don't get drawn. How should I fix this?
I am not using interface builder, so there ar...
I got Facebook Connect working and all and it's loading up the user's friends list with perfection. So now I have the logged in user's UID and the friend's UID. How would I go about calling their users.getInfo method from the SDK? The example below is what they give me to set a status, but I don't know how I can transform it to work with...
I have a site which makes SOAP requests to a separate domain using YUI's cross-domain AJAX transport. This is working wonderfully on my site, but unfortunately since mobile browsers don't support flash, I can't get it to work.
Does anyone know of a way to make cross-domain AJAX posts on mobile browsers?
Thanks!
...
I have built an iphone app for a componany that has its own custom APN. The iphones work fine on the apn, and using Safari they are able to browse the internet as well as their internal web servers. All access apparently is through a proxy server.
The app sends locational data back to a web server. The app however is not able to send ...
I am in the process of cleaning my code and testing for bugs, when I came across this build error: ['xmlEntity' is not an Objective-C class name or alias]. Here is a shorten version of my class .h file.
@interface PMXMLParser : NSXMLParser {
NSMutableDictionary *xmlEntity;
NSMutableDictionary *collectionDict;
}
@p...
Hi all, I am having an issue using CGBitmapContextCreateImage in my iPhone app.
I am using AV Foundation Framework to grab camera frames using this method:
- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection {
CVImageBufferRef ...
What is the easiest way of creating an UISwitch inside a grouped table view without using a Settings Bundle? Is it possible to do it using Interface Builder without programmatically adding the switch? The desired appearance is like this apple example.
...
HI I am developing an application where the NavigationBar at the top is hidden using this code:
- (void) viewWillAppear:(BOOL)animated
{
[self.navigationController setNavigationBarHidden:YES animated:animated];
[super viewWillAppear:animated];
}
This means that once on this page there is no back Button to press to go back whic...
Hi,
How do i create dynamic properties on an object in objective-c?
in ActionScript we can do something like this
var obj : Object;
obj[ "myDynamicProperty" ] = true;
trace( obj.myDynamicProperty );
How would i do this in objective-c?
I have tried the following
NSObject *obj = [[NSObject alloc] init];
[obj setValue:@"labelValue" fo...
Hello all
I found out that there are 2 open source projects I can use:
javapns (http://code.google.com/p/javapns/)
and java-apns (http://github.com/notnoop/java-apns)
Both of them are pretty good, but do not handle error responses. When you compose a payload in enhanced format, you can include an identifier with the payload and send it...