Hello,
I have an HTML5 video player with a custom seek bar, that's working great on the iPhone (playing inline) and on the browser.
It plays great on the iPad too and the seek bar is updated as the movie plays, but for some reason, I can't seek.
All of the values are correct and I'm trying to set:
myPlayer.currentTime = XX;
Unfortu...
Hi
I am developing an iPad app which starts with a graphical menu. When the user rotates to landscape, the user sees the same menu, but it shows more of detail in the width and less in the height (natch). However, when the rotation animation happens, the default black masking is seen around the edges.
Is there any way of switching this...
Hi. I'm making my first iOS application to be run as an adhoc release on an iPad as part of a university project.
I need to have a configurable file somewhere within the source for setting price constants that are to be accessed from multiple subclasses of a superclass.
I'm wondering what is the best way to store these values, as there...
Hi,
I'm trying to work out how to take an NSAttributedString and use it in Core Text on the iPad. I watched one of the WWDC videos (110) which has slides (but no source code) and it describes how to create an NSAttributedString, then just put it into a CTFramesetterRef:
CTFontRef helveticaBold = CTFontCreateWithName( CFSTR("Helvetica-B...
Hi,
I'm having a difficult time trying to work out how to build a page using Core Text, where I have multiple paragraphs which follow one another, but in different styles.
In other words, I would like to have a title paragraph, followed by a subtitle paragraph, followed by several body paragraphs. In HTML terms, this would be:
<h1>Som...
I have a View Controller that is swapping UIView objects in and out. There is the potential to have hundreds of different views, each with their own behaviors.
Within my current MainWindow.xib file I currently have:
File's Owner UIApplication
First Responder UIResponder
AppDelegate AppDelegate
-Cover Cover
Window...
It doesn't seem to do much... :/
I don't have any (apart from MainWindow) XIB files.
Thanks
...
How do I get a UISegmentedControl that is like the one in the Mail App, so that it is the same colour as UIToolbar buttons (as if both segments were in the selected state).
I want to use the segmented control for exactly the same purpose as Mail.
(on the iPad, so a grey not blue color)
...
My iPad app uses a lot of UIWeb views to display content. The user clicks small images with links to pull up a smaller view with additional content. When you tap a link in a UIWebview, the link highlights gray for a moment to indicate the click. In the case of links in an in an image, the whole image rectangle flashes gray for a moment, ...
I have a View Controller inside my MainWindow.xib file that loads the nib "Cover" when loaded. Cover (and the rest of my pages) is simply a nib file containing it's Owner, First Responder and a View. There is also an associated class declaration.
In MainViewController.m I have:
- (void)viewDidLoad {
[[NSBundle mainBundle] loadNib...
Hi guys - I have a working iPad app which I now need to make work on iPhone. I've been reading around a fair bit on this, but haven't found a good answer. On this site, I saw some discussion... but again, no definite answers.
Does anyone know of any tutorials? I have captured in my code whether it's an ipad or not - so it's all ready -...
I need to open a plist file located in the File Sharing folder, to add two pieces of user info to each time the app is launched; as in a new Name and Email of the user (both are of type NSString and the plist file is Dictionary).
It then needs to save the file back to the File Sharing folder again, so that the new updated plist file can...
I am converting my app to run on the ipad.
I have a view which is a UITableViewController. How can I cause the table to fill the screen with excess space filled with a background color when the table isn't tall enough.
...
Hi I'm developing a simple writing program using UITextView to study Cocoa programming.
In UITextView, each line has different number of characters.
I tried to change fonts of UITextView, but the width of each character seems to vary. For example, l and L has different width.
Is there anyway to keep the same number of characters in each...
In Interface Builder, what settings do I change for a view so that it fills the screen regardless of the orientation?
I am converting an iPhone app, and the views don't fill the screen unless I set the height and width to 768x1024. But when the ipad is horizontal it of course is the wrong size.
...
I'm using a UIViewController with some buttons, labels, etc which I need to change attributes of depending on the situation.
I'm looking to create an NSObject to control these elements based on an int in the View Controller. When a button is pressed the NSObject will deallocate, the int will change and the NSObject will re-instantiat...
OK here is a very basic iPad app that i am starting out with and I am already into issue. I have been doing iphone apps but in that too never implemented rotation things.. well here is the issue. This is a simple viewbased app build with interface builder that looks like this:
when i run the app, the vertical orientation has both elem...
I am trying to resize my toolbar which sits on main window, so that it is available to all the views in NavigationController (root controller). Here is what being done in root controller (Sub class of UINavigationController):
- (void) willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
...
Hi,
I am following this example: http://doronkatz.com/ipad-programming-tutorial-hello-world.
This example works great.
Now i want 3 tabs in the splitview and for each tab a new navigationcontroller.
But i don't know how to implement it.
I go to this code:
- (void)setDetailItem:(id)newDetailItem {
if (detailItem != newDetailItem) {
...
What is the best way to create contacts view like in mail app? Is it available some native ios solutions?
Look like this
...