** EDIT **
This is the code I'm using to detect whether it's a mobile device:
<!-- Javascript inclusion -->
<script type="text/javascript">
var isCE = navigator.appVersion.indexOf("Windows CE")>0;if (isCE){ window.location.href="http://m.mobileversionsample.com/";}
</script>
<script type="text/javascript" src="/js/jquery-1.3.2.min.js">...
Is it possible to change the coordinate system in a UIView so that (0,0) will be the top right hand corner?
...
I have a view that shows a MPMoviePlayerViewController modally. When testing it in the iPad simulator it works well on the first try. If I dismiss the video and then show the view again, the player only plays the audio, but not the video.
Is this a simulator quirk or am I doing something wrong? Here's my code:
- (void)viewWillAppear:(B...
Hi all,
I'm working on an iPad app that downloads a CSV file from the web and parses the file into a NSMutableArray. (I'm using the code from http://www.macresearch.org/cocoa-scientists-part-xxvi-parsing-csv-data suggested in another post).
When I run in the simulator, everything works perfectly, but when I run on the device, I get the...
I am saving Images in NSCachesDirectory in a App. At the end of app execution i would like to clear all temporary cache. Is there a way to force clear all cache on application exit. I do realise the local folder keeps cache for 3 days..but my requirement is to force clear the Cache. Thx
...
Hi all,
I am writing an iPad app that downloads a rather large .csv file and parses the file into objects stored in Core Data. The program keeps crashing, and I've run it along with the Allocations performance tool and can see that it's eating up memory.
Nothing is alloc'ed or init'ed in the code, so why am I gobbling up memory?
Co...
I'd like to use the Tapku library to add a calander date picker control to my iPad app. I'm new to iPhone OS development and I'm still rusty on identifying the 3rd party tools and code that will get my iPad app denied from the app store. For those that have used the Tapku library, would using it in my iPad app violate any app store rul...
If you look at the Notes app on the iPad, you can see it uses all native iPhone controls, but they're "skinned" to look like a pad of paper. What's the best way to implement something similar to that? Could I use interface builder and simply change the background image for each of the controls, including the TableViews?
Thanks in adva...
This is more of a general question for people to provide me guidance on, basically Im learning iPad/iPhone development and have finally come across the multi-orientation support question.
I have looked up a fair amount of doco, and my book "Beginning iPhone 3 Development" has a nice chapter on it.
But my question is this, if I was to p...
I have an application with a tabBar containing 3 UISplitiViewControllers. Everything works well except for one scenario:
I have the ipad in landscape position on tab1. I click on tab3, then I rotate the ipad portrait mode. I click on tab1, it is well displayed in portrait mode, I'm happy.
I now come back to landscape position.
I clic...
If you were starting to build a relatively complex HTML5 app (for the iPad), what tools and frameworks would you look at using to make your life easier?
SproutCore looked like it might be useful if you could just use the front end UI on its own, but it has to be used with the Ruby server, which is no use to me.
Are there any libs like ...
Hi
The iPad is coming to the Uk and so are the expensive data plans.
My app downloads large pdf files.
I prompt the user if they are on 3g if they wish to continue but it there any way to access the IPhone setting for data downloaded so I could do a before/after.
Im looking for
IPhone > Settings > General > Usage > Cellular Network Data ...
Hi,
I am using this code to open a popover with imagepicker
-(IBAction)photosAction:(id)sender
{
// dismiss any left over popovers here
UIImagePickerController* picker = [[UIImagePickerController alloc] init];
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
picker.delegate = self;
UIPopoverController *popover = ...
I have a view that on receiving double tap, sends a notification to the root controller, who in turns removes and releases the view.
The problem is that after the view has been released, it receives another delayed GestureRecognizer event.
Following is the info from 'Instruments':
Category Event Type RefCt Timestamp Addres...
Problem:
On localhost the applicationCache is working in both the iPad simulator and regular safari all the time.
On production server I'm getting status = 0 (uncached) on iPad simulator and the actual device but on safari it actually loads the cache correctly the first time but hangs in status = 2 (checking) for subsequent refreshes.
...
I'm new to iphone development. I'm a VB programmer who is trying to convert a VB application to an ipad app.
I need some help with sending text to a UITextView.
I want to first have a UIPickerView and then once the user hits a UIButton, a UITextView appears and the text is then generated by my source code code, line by line. The code...
Hi,
Im trying to load a modal view from a view controller that is displayed in a popover. The modal view loads but the problem is that it transitions into the main view and not within the popover. Is it something Im missing? I thought simply initiating it from a vc within a popover would present the modal view within the same popover.....
I'm diving into iPad development and am learning a lot quickly, but everywhere I look, I have questions. After creating a new SplitView app in Xcode using the template, it generates the AppDelegate class, RootViewController class, and DetailViewController class. Along with that, it creates a .xib files for MainWinow.xib and DetailView....
Hi,
First I would like to say that I'm really new to ipad/ipod/iphone development, and to objective-c too.
With that being said, I'm trying to develop a small application targeting the iPad, using Xcode and IB, basically, I have a table, for each UITableViewCell in the table, I added to the accessoryView a button that contains an image...
I'm diving into iPad development and I'm still learning how everything works together. I understand how to add standard view (i.e. buttons, tableviews, datepicker, etc.) to my UI using both Xcode and Interface Builder, but now I'm trying to add a custom calendar control (TapkuLibrary) to the left window in my UISplitView application whi...