I have other pages within my app preferences which are stored as separate files within the settings.bundle.
It has come time to localize my app and I can only seem to get the Root values to localize. I was wondering whether there was a trick?
The following image shows that my second screen is stored within a file called "MyPrefs.plist"...
I've created some custom UITableViewCells in a nib file and would like to use that across multiple UIViewControllers.
Can anyone tell me the best practice way to do that? My limited knowledge around loading nibs seems to suggest that you have to specify a single owner class in Interface Builder.
Thanks.
...
When I delete a row like this, and then scroll a little bit, one of the rows of that section happens to cover the section header.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
if (editingStyle == UITableViewCellEditingStyleDelete) ...
Hey guys,
I was wondering whether anyone has tried to use the new tag that comes with HTML5 on the iPhone.
Specifically, I didn't manage to make the pause() command to work.
Below is a portion of the page. As you can see, I'm trying to pause the video 10sec after it started. It works on Safari on a Mac btw.
Has anyone managed to make t...
I have an app with tabbar and webview. I'm trying to make the app come back to default url each time user taps the bar. Right now I'm intercepting taps and launching a method, however it's not affecting my webview (it's not loading the page). The method works properly when called from the class, but not when it's called from my app deleg...
I have a plan to make a game using OpenGL for 3D world view, and CALayer(or UIView) for HUD UI.
It's easy to imagine performance degrade from mixing them, but the document which mention this impact disappeared: http://developer.apple.com/iphone/library/technotes/tn2008/tn2230.html
I cannot find the document on current version of SDK refe...
Hello guys!
I need to display 10 - 1000 images on a UIScrollView. Paging is enabled. So every page of the scrollview is an image, it is an uiimage. I can load 10 images to 10 uiimages which stays in the memory, but with 1000 images I have problems on the iPhone or on the iPad. I am trying to unload and then load the images when I am doi...
I am setting up an application using the MVC model and I have a query regrading the flow of information from the UI to the data model. What I need to do is place data from the UI in the model, what I have done is write a method in the view which collects the required data in an object and then passes it to the model. The model then takes...
I have an application that starts playing a sound when user touches the uiview and changing to different tones as the user slides the finger on the screen. The sound stops when the user lifts the finger.
I am using the touchesBegan, Moved and Ended Events for this.
My problem is touches Ended (and/or cancelled) is sometimes not fired ...
Hello,
I have 40 points with (x, y, z) coordinate in my iPhone app. For now I just NSLog them. But I'd like to display them in... 3D!
How can I do that? Do I have to use openGL ES? What are the others possibilities (if there are any)?
I've never used 3D in programming... is this a difficult thing to do?
Thanks !
...
I need as simple as possible solution for uploading files (eg. photos) to my website from mobile devices (iPhone, Android, BB, Nokia). Is it possible to do it in same way? Using Java or XHTML?
...
I am listing out data to a UITableView from a plist file where I have a two dimensional array/dictionary:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>ID</key>
<integer>1</inte...
I'm planning the layout of my web page, which should also be usable on the IPhone. I don't really have much experience with the IPhone yet - I just installed the IPhone Simulator on my Mac.
The page's contents are flexible, so I think it would be better to use this flexibility to avoid that the user has to scroll around the entire page....
I come from 3D animation and one of the basic things all 3D software have is the ability to create dummy objects. Dummy objects can be used to groups objects that can be rotated, moved or scaled together around a specific anchor point. This is the idea of what I am asking.
Obviously we can have fake dummies by using a view and put other...
In my iPhone app, I want to be able to reuse the same server-side session when my app restarts. A session on the server is identified by a cookie, which is sent on each request. When I restart the app, that cookie is gone and I can't use the same session anymore.
What I noticed when I used the NSHTTPCookieStorage to look up the cookie I...
Hi everybody,
for my application, i want to use page control with scroll view in witch i use some custom view.
how can i do it, via IB?
thanks
...
I've been trying to find any way to optimize the performance of my location-based iPhone application and have seen some people mention that you can force location updates by starting and stopping your CLLocationManager. I need the best accuracy I can get, and the user in my case would probably like to see updates every few seconds (say,...
I've written an app that plays audio using AVAudioPlayer.
I've implemented a function that switches the audio to the speaker:
UInt32 sessionCategory = kAudioSessionCategory_MediaPlayback;
AudioSessionSetProperty(kAudioSessionProperty_AudioCategory, sizeof(sessionCategory), &sessionCategory);
UInt32 audioRouteOverride = kAudioSessio...
I have a UIWebView which loads .rtfd.zip files like this:
-(void)viewWillAppear:(BOOL)animated {
self.title=@"Title";
if(rowPosledovatelnosti==0) {
[self loadFile:@"PosledovatelnostiObzie.rtfd.zip"];
}
if(rowPosledovatelnosti==1) {
[self loadFile:@"Arifmeticheskaya.rtfd.zip"];
}
if(rowPosledovatelnosti==2) {
[self loadFile:@...
In objective c (iphone) are the nib files (xib) the View part of the MVC?
When you set a property of an object in IB where is that actually stored in the xib file?
...