Hello everyone,
I have a UIWebView that loads local HTML files. In one of those files/pages I have a video file embedded (with <video> tag) that plays correctly in both simulator and iPad, but in iPad I get this annoying warning message:
warning: Unable to read symbols for
"/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2...
Is there a way to programatically remove the selection box of text which the user has selection in a UIWebView?
...
i am wondering how i can randomise the order of questions when i have question as an NSInteger i am using the following line of code to try and display my arc4random however it crashes and it doesnt load properly.
question = arc4random() %6 +1;
is theere a solution to get the integer question to be randomized in its order?
thanks...
I'm developing an iphone app that records audio, right now it records aiff files, I need to convert these files to aac... any idea how to do this?
...
Hi All,
I've been trying to implement a background thread in my app to do the long haul, hard graft uploading stuff.
I'm using the FBConnect SDK and it has been working perfectly but I would like to keep the GUI side working smoothly and at the moment there is a noticeable pause in the app before it starts the upload.
What happens at ...
Is there a way to convert an integer into a network short integer on the iphone? Also, how do I convert a network short to a host short. In c, it's htons and ntohs
Thanks
...
I want to know how different levels are made in iPhone games like "AngryBirds". Do they have some large array which has locations where to put the brick or something? How do those kinds of levels are developed?
...
My AppDelegate makes the following call to start my game scene:
[[CCDirector sharedDirector] replaceScene: [HelloWorld sceneWithResponseDelegate:self]];
When the scene is finished it adds a MenuLayer (which is a singleton):
MenuLayer *menu = [MenuLayer layerWithLevel:@"forest" score:score responseDelegate:mainMenu];
[[[CCDirector sha...
The code below works perfectly to send text (.txt) attachments via the mail application (textfile.csv needs to be modified everywhere with textfile.txt). However when I try to attach csv files it does not work at all (the mail application opens up showing the icon of the textfile.csv but when the mail arrives it has no attachment (nor th...
Hi everyone,
I have just updated my XCode to 3.2.4 and it turns out my unit tests are no longer working. I have configured a target and executable following the instructions from Scott Densmore so that I'm able to debug my tests.
I did change the Base SDK to iOS4.1 for my test target (LogicTests) and updated the path to the otest scrip...
In a project I'm using Three20 for some of the code (not using the TTNavigator or some advanced features, only a few things).
When I try to create an UIActionSheet, I get an EXC_BAD_ACCESS error. The code that triggers it is as follows (on a UIViewController)
- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
...
How would you detect if the user presses the volumen hardware bottons and prevent default behaviour?
Thanks a lot.
...
Hi,
We're making an app using phonegap to load it locally. Everything is
working fine, the problem is that our manager asked us to find a way
of update the whole site (if necesary) from internet and replace the
old one.
So far I created one method to do it when the website is copied to the
Documents folder but I found that the 'www' sit...
I have a navigation controller which I don't want to use up the whole screen. In particular, I want to put a logo image in a bar at the top of the screen. Unfortunately, the navigation controller doesn't seem to be designed this way. In interface builder, I can't make it take up part of a screen. How would you achieve the effect of a log...
Hi,
I am implementing a table index view and amazed to see how my table indexes are working even without implementing:
- (NSInteger)tableView:(UITableView *)tableView sectionForSectionIndexTitle:(NSString *)title atIndex:(NSInteger)index method.
I have only implemented:
- (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tab...
Hello,
I have an XML file taht looks like this:
..
Smith
...
Johnson
...
...
and I need to convert the last name of the dependent to upper case.
I wrote this XSLT
and it converts last name of the dependent to the last name of the personal info in upper case. So it converts it to SMITH and I want it to be conv...
I want to pass back data from a UIDatePicker that is setup like this:
UIDatePicker *pickerView = [[UIDatePicker alloc] init];
pickerView.datePickerMode = UIDatePickerModeCountDownTimer;
The picker mode is set to be the count down timer. What type of data type do I need to pass back to the delegate?
I was thinking it would be somethi...
I need to create a class that gets a delegate does some calculation and then calls the delegate.
Where am i suppose to release the object I allocated?
Is it possible to init the MyClass
object without allocating it, so
that way I don't have to release it.
What is the best practice to do such
a thing? (I am trying to create a
web servic...
I have a paging UIScrollView that pages through multiple full screen images. I am tiling the pages, queuing and dequeuing the UIViews dynamically as the scroll view pages through the collection of images, based on Apple example code.
I have a toolbar button the calls scrollRectToVisible:animated: to move the UIScrollView to a specific i...
Hello, im working in iphone's camera app, using UIImagePicker to launch the camera.
Everything goes well, just a need to use the default controls showed in the camera app in iphone(little thumbnail from the last pic in camera roll and take photo buttons) and its animation(take and send the picture to the left bottom thumbnail), not defau...