we are looking for a way to find out (not modify, just find out) if our application has been allowed to receive notifications or not from our service. This probably requires read-only access to the "general settings" properties or some specific API's. Does anybody know how to get that information? I am talking about the info in iPhone...
How does one get XCode to recognize the existence of the latest downloaded SDK (3.1.3) after installation?
The new SDKs appear in System Profiler > Software > Developer, but not in the usual dropdowns in XCode.
Thank you.
...
Hi
Is there a way for an iphone app to interact with an windows dll(business logic).
I want to send a request to a web share which has all the dll's and get a response in return. this response can be a pdf or a url.
Is it possible to do this? Or am i trying to do which is not possible?
thanks
...
How much memory alloc an UIImageView 320x480?
...
I wrote some naive code(in the sense that it's synchronous calls) for a tableview that contains thumbnails of images pulled from a url. The code in cellForRowAtIndexPath that pulls the image goes like this:
data = (data == nil)? [[NSData alloc] initWithContentsOfURL:photoThumbPage] : [data initWithContentsOfURL:photoThumbPage];
thumbImg...
I have a view controller and I am intercepting the touches on links within the web views it manages.
My main view controller has this method.
- (BOOL)webView:(UIWebView*)webView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(UIWebViewNavigationType)navigationType
{
//I can see this request come in upon a touch
...
Hello,
I want to add explanation between cells.
I'm experimenting with sections, trying to make the cell opaque, without borders, ... but sure it exists a better approach ...
thanks,
m.
...
I have a view controller, which calls performSelector:withObject:afterDelay. However, if I remove that view controller right after calling this, my app crashes as soon as the system tries to perform the delayed selector on that (deleted) view controller.
Now how can I go about this? I need to get rid of the view controller to save memor...
Example: I have a view controller and get rid of it. But there's still an variable holding it's memory address. Accessing that results in EXEC_BAD_ACCESS. Of course. But: Is there any way to check if that variable is still valid? i.e. if it's still pointing to something that exists in memory?
...
I log info and size the label like this:
NSLog([NSString stringWithFormat:@"before: %@, %f", [item valueForKey:@"item"], itemDescLabel.frame.size.width]);
[itemDescLabel sizeToFit];
NSLog([NSString stringWithFormat:@"after: %@, %f", [item valueForKey:@"item"], itemDescLabel.frame.size.width]);
At first it is correct and logs data like...
Ola Folks,
Once again, I want to leech experience, information and knowledge from those who have more of them than I do. Granted, I do make some effort looking for questions to answer... :)
Anyway, I want to draw an image that would effectively be a circular progress indicator on a UIButton. Because the image is supposed to represent p...
Basically I have 2 polygons for my body. When I add a sprite for userData, the position of the texture isn't where I want it to be. What I want to do is adjust the position of the texture within the body. Here's the code sample of where I am setting this:
CCSpriteSheet *sheet = (CCSpriteSheet*) [self getChildByTag:kTagSpriteSheet];
CCSp...
Hello,
Is there a way I can iterate over a list of UITableViewCells contained in an indexPath.section?
Thanks
...
How to reset a uinavigationview to display the root controller when user clicks back to it in a tab bar app
Hey,
Just wondering how I would do this. I have the navcontroller in my delegate along with the tabbar controller and Any time the user clicks to another tab I want the rootview on the navigation controller to be shown if and whe...
I would like a UIWebView I am hosting in my app to use the proxy settings that are setup for the network connection to load content.
I don't see a way other than using something like ASIHTTPRequest along with some kind of way to pull the proxy values for the network settings.
Currently when my UIWebView tries to load content via the UI...
I just want to make sure that I am heading in the right direction with how a simple MVC application is constructed.
// MODEL
@interface Reactor: NSObject {
NSNumber *temperature;
NSString *lastInspection;
NSNumber *activeRods;
}
.
// CONTROLLER
@interface viewController: UIViewController {
UITextField *tempTextFiel...
iPhone / Objective-C
On my view a little "hover" view appears after a user clicks on a button on the main view. When the user clicks this subview I want the subview to FlipFromRight to another view (same size). The main view underneath should stay.
viewHot and viewCold are the subviews viewMain is the main one.
Is this possible?
...
Hi:
I struggle with Core Data on the iPhone about the following:
I have a 1-to-many relationship in Core Data. Assume the entities are called recipe and category. A category can have many recipes.
I accomplished to get all recipes listed in a UITableView with section headers named after the category.
What i want to achieve is to list all...
I'm trying to get Facebook Connect functionality working in my iPhone app.
I'm wondering how to get the button lined up correctly in my UITableView:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableV...
My app has an NSOperation class called ServerRequest that handles networking tasks. According to instruments, it is leaking like crazy. Additionally, instruments says the code that builds the request is leaking, even though that is not an NSOperation. But I have followed Apple's advice in terms of setting up an autorelease pool, so I ...