I need to load an action sheet on a GLSprite derived game. I tried adding a UIViewController but when I display the actionsheet none of my touches are registering, and I can't figure out how to close the action sheet and switch the view back to my game?
Should I only create a UIViewController when its needed, or all of the time? Rath...
It looks like if the font in UIWebView is by default some kind of "Times New Roman". I guess I would have to figure out what font apple uses for [UIFont systemFontOfSize:15] ... or is there some intelligent way to do it?
...
I'd like to use a UIWebView with the same typographical appearance as the rest of my app texts which all use [UIFont systemFontOfSize:15]. But before doing some forensic research maybe someone knows what font that really is?
...
This has me really confused.
I'm working on a custom animation for rotating an image inside a custom UITableViewCell.
This all works fine when I place the code inside the same class as I'm calling it from, but fails if I put the code in it's parent.
So at the moment I have two classes defined as
@interface DummyEvent : Event
@inte...
I have subclassed UITableViewCell to make a custom cell for a tableView. I add text and images to the cell's contentView.
Everything looks great in landscape mode (iPad), but no so much when I rotate to portrait. Where is the best place to handle orientation changes so that all the table cells can reposition the contents in its contentV...
Reading acceleromenter data is quite easy on the Iphone but using them effectively to simulate a virtual joystick is a different story. I see that accelerometer data are quite noisy and the average module of each axis accelleration in a rest position is not comparable. I wonder if the most effective way to use accelleromenter is to look ...
Would I have to set the font-size css property in pt, instead of px? What's the safest way to keep a consistent text size?
...
Is there an easy way to embed local images in an UIWebView? For example, I would want to embed an logo.png image in the UIWebView, which I've added to the Resources folder in Xcode. Would I simply add an img HTML tag for this?
...
I am using this http://imthi.com/blog/programming/iphone-rss-reader-application-with-source-code.php as a start for my rss reader in my app for loading news. I am trying to get it when you select a cell row it opens the link in safari instead of another viewcontroller. I am still learning how to develop for iPhone. This is what opens the...
I just came across this article that mentions both Microsoft and Apple have banned all GPLv3 based code from their mobile "app store"-related sites.
http://www.zdnet.co.uk/reviews/developer-tools/2010/09/27/windows-phone-7-developer-tools-a-first-look-40090296/
excerpt:
"The one unfriendly part of the
agreements you need to sign ...
I am in this situation where I have to display a button which says "Open myApp" (if myApp is installed on the device) or it says "Download myApp" (if myApp is not installed on the device) in an iphone app. To do this, I need to detect whether an app (with a known custom URL) has been installed on the device. How can I do this? Thanks in ...
I have a scenario where it's possible to earn > 1 achievement at the same time. Has anyone come across a good solution for displaying them using OpenFeint? Right now OpenFeint shows 2 overlapping each other -- not that helpful for the user. I'm wondering if OpenFeint has a built-in system for handling this, rather than having to write...
I have a list of items I'd like to show in a UITableViewCell. Right now, I'm simply using a cell.textLabel with commas separating each value, but I'd like to do something a little more dynamic.
How would I achieve something like this?
Would it be an array of UILabels with borders and radius on those borders?
Thanks for your ideas.
...
How can I get which language an app is running on? And I don't mean the preference set into settings!
Let me explain it further...
I localised my app with three languages: English, Italian and Spanish. If the iPhone is set on Italian or Spanish, the app will use those two... it falls back to English otherwise.
For example: a French use...
How do we maintain the data security in iPhone apps. For instance, a custom app for a bank needs more security in terms of:
1. Data in transmission
2. Data in rest (Data inside iPhone)
What are the potential steps one can take to ensure the integrity and security of data? What support iPhone SDK provides to achieve this? How do we encryp...
I am building an application that must add an overlay view once a scrollview is done zooming. I was having problems adding the overlay to the scrollview itself and keeping the position consistent, due to what I assume is the scrollview not being done zooming...no biggie...so I decided to add the overlay to the sharedApplication's keyWin...
Hi
Very new to Iphone development here, I have a project which is successfully building (which is a first for me :) It loads the simulator but it just closes as soon as it loads, how can I debug this? It appears the Interface Builder xib files are not loading, I've added a xib thats from a hello world project, (they have different proj...
Anyone have any idea why CGContextFillPath won't work in the code snippet below? I'm using the following code to draw to a UIImageView. It's stroking the path correctly, but ignoring CGContextFillPath.
UIGraphicsBeginImageContext(self.frame.size);
[drawingView.image drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.heig...
When I initially load my view there is a spinner and "Loading..." label displayed. However, after my data is loaded, the spinner and label appear on screen for a good 2 seconds. I did some debugging and my method is getting called and completes before these elements hide. It's like there's a lag.
The method:
- (void)isLoadingData:(BOOL...
Hi,
I need to get the zipcode/pincode for a location by using the latitudes and longitudes. I able to get the city, country.
But I am not able to get the zipcode/pincode.
I have gone through a form and it stated that,
No: the geocoder's data differs from country to country, depending on
the data which Google was able to collect or...