Hi guys,
I set the clipsToBounds property of my UIView to NO, then I created a UIButton half in the bounds, and half out of the bounds. I found that only the part in the bounds is clickable.
How can I make the whole button clickable?
Any help would be appreciated. Thanks in advance.
...
Thank you in advance for any help, I am building a multipage iPad app,and each page has specialized calculations, they all work great, but i would like to make the user experience better with some simple line drawings that represent the calculations, I am comfortable with the drawing once i get a valid CGcontext working, and this is wher...
After reading several posts on this matter, I thought I was all clear about my options, until I actually submitted the update to Apple...
To my understanding, there are two main approaches for developing for both iPad and iPhone:
Create two targets within the same project, one for iPad and iPhone each. Then push both of them to App S...
Although apple banned flash which disabled a lot of ad. I still like a adblock like functionality for browser.
I noticed that adblock do so by checking all load request's url. Is that possible with UIWebview?
Any suggestions are well come
Thanks
...
Hi,
I have an UITextField inside an UITableViewCell.
I want the textField to return but something goes wrong.
Here's my code:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
if (indexPath.section == 0) {
if (indexPath.row == 0) {
cell.selectionStyle = UITable...
Hi
I want to open an modal ViewController from my ipad splitview application. It works fine when I do it from the app-delegate:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after app launch.
// Add the split view controller's view...
Hi,
I have seen Apple's example "TableSearch" that when touched its scope buttons come below the search bar.
http://developer.apple.com/iphone/library/samplecode/TableSearch/Introduction/Intro.html
But when I make my own it looks good at first but when I touch it looks like ugly, scope buttons and search bar are shown in the same line...
I noticed if I open an .epub link in safari browser of my I pad it is opened in good reader. When I deleted the good reader, it said cannot open. How is this association done ? Can I associate .epub link in iBook or stanza or kindle ? Can this association be done programmatically ? Can my developed app be associated ?
...
Hello,
So I am trying to probe the UIApplicationLaunchOptionsURLKey to see if my application was launched by another app. For example, what if I want to do something like this:
if (UIApplicationLaunchOptionsURLKey != NULL) {
[window addSubview:launchViewController.view];
} else {
[window addSubview:viewController.view];
}
In...
Last time I saw someone asks why Safari on iPad doesn't show some 1920x1440 jpeg with real size & I solved that puzzle. You have to use a progressive-encoded jpeg. However, I find another different problem.
Say, demo.jpg is a progressive-encoded jpeg with 2000x3000 & I upload it to my website. I then access it via url ...demo.jpg, Safar...
I have some png's that are now resources in XCode.
I would like to replace the with other png's on the device after deployment.
How do I do that, while still being able to work with them in XCode?
I thing it should be "Documents" "Library" or "Settings" folder, but it is not so clear how to create them in xCode.
(This is an internal a...
I have a PDF file with a font reference to STSong-Light which is not available on the iOS.
Therefor I can not display the correct characters defined with that font.
I took the STSong font file mentioned on Apples KB:
http://support.apple.com/kb/ht1538
… and put it into my project and added it to the plist.
The text is now no longer b...
I have a little issue with an application I'm building for the iPad. I have several views that are fixed in portrait mode, and others that can work in either portrait or landscape mode. Everything is fine - I have shouldAutorotateToInterfaceOrientation: giving me the correct results, and views do eventually end up in the right orientat...
Hi all... I have a viewController called MainViewController, which has a UIButton. When tapped, this button loads another viewController, called ModalSelector like this:
- (IBAction)showModalSelector:(id)sender {
ModalSelector *modal = [[ModalSelector alloc]
initWithNibName:@"modalSelector" bundle:nil];
modal.modalPresentationSty...
I already know that you can load local html files in a UIWebView, but could you do the same thing with asp files? And could you use AJAX on the iPhone?
...
How do I show/remove a busy cursor spinner on the iPad when doing a long operation?
...
Is there a way to know that a view controller is somewhere in the view controller lifecycle between -viewWillAppear and -viewWillDisappear?
I ask because I want to be damned sure that a method isn't fired when my view is either not on screen, or is about to disappear from the screen. When the view is about to disappear from the screen, ...
How can I do not full screen, but partial Web View in my iPhone/iPad app?
I need it to be in the center of the screen, but having other controls (native app) on top/bottom/left and right. Thank you!
...
I want to have a compiler (pre-compiler) directive in my objective-C class to distinguish between the simulator build and the device build.
#if SIMULATOR
call testModule();
#else
call productionModule();
#endif
Is there such a #directive in X-code for the iPad/iPhone?
...
So I was looking at this app http://itunes.apple.com/us/app/pageonce-personal-finance/id285056092?mt=8 (see iPad screenshots) and it appears that they have a uinavigation controller within the Details view of the UISplitView. When I tried to make a UINavigation controller in my Details View, the navigation bar overlaps with the UISplitVi...