Is it possible to show toolbar items in a UIViewController inside a popover? I'm doing this in the viewDidLoad method of my view controller:
UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:nil action:nil];
[self setToolbarItems:[NSArray arrayWithObject:addButton]];
...
I am able to load the pdf into the but not able to detect the links on the pdf
Thanks in advance.
...
After playing youtube video from the webview -- all app music and sounds disappears. I tried to restore audio by AudioSessionInitialize() and AudioSessionSetActive() -- but it's not helps. Only one way I found to restore sounds and music -- completely re-initialize sound system including OpenAL re-initialization and reloading all sounds ...
I've spent the last hour or so trying to work out why not all my UIViewControllers are receiving orientation change notifications.
I've got a subclassed UIViewController attached to the window, that internally creates a few other UIViewControllers to manage smaller portions of the screen which are re-used elsewhere in the application I'...
For some reason my universal app suddenly does not want to launch in fullscreen iPad mode, but it used to do so. I am really not sure what happened.
The iPad target is set to iPhone Devide 3.2 and the iPhone OS deployment target is iPhone OS 3.2 as well. I have set the Targetted device family to iPad.
Yet, the app keep launching into ...
I have a UITabBarController with a bunch of tabs.
When a new tab is selected, I want to be able to access the UIViewController associated with that tab.
The -(void)tabBar:(UITabBar*)tabBar didSelectItem:(UITabBarItem*)item method on UITabBarDelegate gives me access only to the UITabBarItem.
Any suggestions on how go from this to the UI...
What is the fastest way to determine if a file is playable video? I am not concerned with it being corrupt or not but just whether it is a mime-type that should be playable on the iPad.
I have played with pushing the file through a NSURL as suggested by another question but that can take > 1 second per file which is too slow.
I am cur...
I am looking for some high quality online video training for developing with Apple Technologies that can be subscribed to at a reasonable cost. The technologies I am looking for them to provide training on is developing applications for Mac OS X, iPhone and iPad using Xcode, IB, and Objective-C. They must be top notch technologist and p...
I am having a strange problem when I switch views using the UIView begin, set and commit animations.
For some reason when I change the views it is pushing the elements that I have on the screen up by about 10 pixels?
For example, when I load my first view the elements on the screen load correctly, but as soon as I move to another view ...
I was using MPMoviePlayer to play a short video in my app with no problems in SDK 3.1.3. I made the changes to the code in SDK 4 but the video is not playing. I just get a black screen and audio. The Apple Dev Center doesnt have any sample code for this class for the latest SDK. Following is the code I'm using:
(void)viewDidLoad {
[su...
How can I rotate my base view and still make sure that its subviews are still in their correct locations?
--------
|X | After 90 degree rotate and stretch
| | this should remain the same
| |
| Y|
--------
I presume I need to rotate 90 degrees and stretch according to window ratio and p...
I have this obsession with doing realtime character animations based on inverse kinematics and morph targets.
I got a fair way with Animata, an open source (FLTK-based, sadly) IK-chain-style animation program. I even ported their rendering code to a variety of platforms (Java / Processing and iPhone) video of Animata renderers
Howeve...
Is there a way where I can only allow my app viewable in landscape mode? I've managed to default the application's orientation to landscape, however in the iPad simulator, when I do Command->Arrow, the application rotates to portrait. I've removed the listings in the plist under "Supported interface orientations" for both of the Portrait...
How do I detect if a user is running the application on an iPhone 4 or 3G/3GS?
I need to detect the hardware, not the iOS version.
thanks for any help.
...
I am debugging an application using iPhone 4 Simulator. I have selected it from the simulator menu (device = iPhone 4). When I run the app, the screen size is reported as 480x320 !!??
Is there something I have to modify on this app of mine (originally built for 3G/3gs) in order to make it run on iPhone 4 (yes, I have recreated all artwo...
Apple says you must have @2x versions of your images and use a stuff like
UIImage* anImage = [UIImage imageNamed:@"Button"]; // without the extension
That will select the lowres and hires versions of Button image, depending on the iPhone version (3G/3GS or 4). But what if the app is for iPad too?
Will the iPad load the Button image e...
Hello,
does anyone know of a UI Library for iOS, that acts like a horizontal UITabelView?
I want to scroll cells from right to left and not from up to down.
Thank you
twickl
...
Hi,
i am using the following code for the mail composer sheet in iPad application. I used the same code for iPhone. It worked.
I am writing the game in iPad using cocos2d. The game is in landScape mode. The control in EmailScene is stopping at [picker presentModalViewController:picker animated:YES]; It is not giving any error. Should I c...
I need to detect if the user is using an iPhone 4, but I need this to work on the simulator (cause Apple forgot my country and there's no sign of iPhone 4 here soon).
I found this
http://www.clintharris.net/2009/iphone-model-via-sysctlbyname/
but running this on the simulator it does not detect the correct version. I mean, Xcode 3.2.3 ...
Is there a standard way to create the blue resize handles? Such as what you see in "Pages" when you resize graphics.
...