Hi everybody,
I'm trying to add a UIWebView as a subview of a UITableViewCell in order to display some data formatted with MIMEType 'application/xhtml+xml'.
Even just initializing the UIWebView as described in the following code leads the application to crash!
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath...
How would you insert it behind the main view?
Thanks,
David
...
Looking for some syntax help for SQLite, a very odd thing is happening. I am running the query on an iPhone.
Here is the query that fails: (Assume that the tables are correct, this runs great in the firefox sqlite plugin)
select tcodes.DisplayOrder, StatusText, StatusCode
from tcodes
join tcode_transitions on tcode_transi...
My iPhone application needs to provide different features in some local markets, so I need to be able to determine where the devices "home" market is or from which store it was downloaded (if applicable).
I've tried almost all variations of NSLocale but I always seem to be able to change one or more of the settings.
I need to disable o...
Hello!
I'm playing around with the camera and I've tried to transform the camera preview (being displayed by UIImagePickerController) using CGAffineTransform. So I first create the controller, set its resources and present it. I've tried applying the transformation both before and after the view is presented...
When I run the code, no ...
Hey there,
I'm creating an app that has a tabbar at the bottom and no status or navigation bar at the top. I want to create a teaser view at the top that is 320x50. It will appear on top the main view for some of the tabs. Similar to the way an ad might appear over a view. Sometimes the teaser view will be hidden. When a user click...
Before iOS4.0 clicking the home button on iPhone exits the application, and Apple had in their guide that programmatically exiting the application was not accepted.
now everything changed in iOS4.0, clicking the home button puts your app in a suspended mode (multitasking).. and I think there should be a clear way for the user to exit th...
I added a subviews to uitableviewcells its working fine, but when I scroll up or down subviews are adding multiple times. I donno where I am wrong.
Here is my code:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"MainPageCellView";
MainPageT...
I'm a developer and don't want to commit to iOS4 yet as it's buggy, but a few of my clients will be early adopters. Can I use OpeniBoot (or something similar) to boot two legit OS's (preferably 3.1.3 and iOS 4)?
...
I am currently rotating a UIImageView by touching, dragging, and releasing. I am rotating the object by the function:
-(void)rotateForTime:(CGFloat)time distance:(CGFloat)distance
{
CABasicAnimation* rotationAnimation;
rotationAnimation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"];
rotationAnimation.toVa...
So I have an application with two view controllers one is the main controller that launches when the app launches. This view controller Has two buttons on opens a uiwebview to google.com the other opens that same uiwebview but loads a different page.
How can I change the nsurl that is loaded in the other view controller from the origina...
Hi,
I would like to check if the user is using an iPhone 4 or not. How can I do that ?
Thanks !
Sebastian
...
how to make a row in uitableview back to white after selecting.
My problem is when I select a row in uitableview it shows me blue color and it remains on. It doesn't go off, I mean back to white color.
How to do that. any help please..
...
We have an app on the app store that we need to remove. As such we have a new version to upload as a completely new app with a new app SKU and Id but we want to offer a free upgrade for those who have purchased the original version.
Is there a way to do this?
...
I've got a web page for the iPhone that uses the HTML5 video tags. On the iPhone, such embedded videos are played in the native player. I wanted to notice when the video had ended and when the user had dismissed the video with the "Done" button. Initially, I tried this:
var video = $("#someVideo").get(0);
vi...
I am not able to declare a static integer in h class in iphone.
static int i;
this gives an error "expected specifier-qualifier list before static".
please help me out.How to resolve this.How can i declare a static variable globally in iphone.Thanks.
...
Hello,
i'm a little bit confused about the current iOS4 update.
I developed a little App, und wanted to do some improvment.
Today i updated my iPhone to iOS4.
When i use Xcode 3.2 i couldn't use my iPhone for testing, its not supported.
When i use Xcode 3.2.3 i can use my iPhone, but no testing with OS3.0.
What is the best way to mak...
GKSession sendDataToAllPeers:withDataMode:error: is asynchronous ... or so I understand. Short of the peer sending an application-level ACK (which would be very clunky) is there a means of finding out when it's done sending?
M.
...
I have a MPMoviePlayerController which resides int a UIView which again is located in a UIScrollView.
The UIView is getting event/touches, but I am unable to press on the controls on the movie player.
All layers have userInteractionEnabled = true.
The base view also has UIGestureRecognizers attached to it.
How can I trace the path of a...
I have a couple of apps coded up and tested, but can't seem to find out what is the definitive checklist for submitting apps to the app store. There doesn't seem to be an Apple document that spells everything out in a nice easy checklist. I am hoping to generate that checklist from the responses here.
So my question has two parts:
Te...