I'll try to make this as short as I can.
I wrote a custom class that extends UIView with a couple of IBOutlet properties, and it has a XIB associated with it where those IBOutlets are linked to.
I then want to take that class, embed it in some other XIB (for example, a table cell), and just have it work.
It seems that when I embed tha...
Hello, there!
Is there any way to add a magnification glass icon instead of the dot for my first page, that allows to perform some search, using the UIPageControl for my native application on the iPhone?
I've tried to google, but haven't find similar questions at all, but it looks like a wide-spread feature in Apple applications.
Can ...
I have a UIView that's starting about 600 pt's off the screen, but when it comes on to the actual frame, it seems to be disabled.
I've tried using a UIScrollView, but also can't because I need to access the touchesBegan and touchesMoved methods form my UIView, so how would I enable interaction after it comes back on to the screen.
And...
Hi folks,
finally I choose to devote some time to find a way/implementation to
mask text inside UITextView/UIWebView.
By now what I'm able to do is:
- add some custom background
- add a uitextview/uiwebview with some text
- add an UIImageView (with a covering png) or a CAGradientLayer to
create a simple mask effect (*)
Of course ...
I am trying to get my view controller to detect swipes in the UINavigationBar that is automatically displayed by my app, but it refuses to detect swipes. Is there any way I can do it?
...
Hey guys,
I need to use UIPagecontrol for my application, and I'm not sure how to get started. I'm a beginner, and the examples that apple gives me are pretty complicated. All I need are 3 pages with different views for each of them. Can anyone help me out here?
P.S. remember that I'm a beginner!
:D
thanks
...
I'm struggling to find a good solution to this problem. In a view controller's -viewWillDisappear: method, I need to find a way to determine whether it is because a view controller is being pushed onto the navigation controller's stack, or whether it is because the view controller is disappearing because it has been popped.
At the momen...
Hi there,
I'm experimenting with Core Data, plist files, flat files and sqlite.
I can't seem to differentiate in terms of efficiency for small data sets.
In terms of the differences on the surface ( i.e the API ), i know the difference.
But what I'm trying to get a feel for is which persistence model is best for which situation.
Thank...
I submitted my app a little over a week ago and got the dreaded rejection email today. It reads as follows:
Dear -----------,
Thank you for submitting --------- to the App Store. Unfortunately it cannot be added to the App Store because it is using a private API. Use of non-public APIs, which as outlined in the iPhone Develope...
I am developing an iPhone application which requires a multiline text field (UITextView) to capture some text.
When the user touches inside the textView it becomes firstResponder and displays the keyboard. What I really need it to do is remove the keyboard when the user is finished. Normally with a text field the return/done button pres...
Hy, I have a childe view that put it self over other brother views. The problem is that when i touch it the brother also reacts at the touch event. How can I disable touch propagation on the underlieng brother views?
...
I am not sure if this bug really comes from my app or maybe really is a UIKit bug. Maybe someone here can clarify this.
There is a tableview. Each cell offers a disclosure-button to a "settings"-like screen that is a modal view. The modal view can be closed via a "Close"-button.
The modal view contains a UITextView.
Now here comes the...
Is there a way of get rid of UISegmentedControl's rounded corners or it is the default behavior?
...
Im trying to load a single image into the grouped table cell. I found a piece of code on the internet and modified it. Original code is using UIViews to display image, which is not what I need, however original code works of course. PLease help me to make this code work to display an image in a sigle cell for grouped tableview. My TableV...
I have mapkit view and other view as subview of map. I need to catch double click on other view and allow to move and zoom(by pinching) map view.
How i can do it?I must to subclass of MKMapVeiw and override touchesBegan?
@class GridOverlay;
@interface MapView : MKMapView {
GridOverlay *overlay;//This view must catch double click his t...
Is it possible to override the color of the cursor and autocorrection bubbles in a UITextView? This is done in the built-in Notes application, but I don't know if it was done by public means or not.
I can't find any reference to this in any documentation, so I'm worried that it's a private API set in the UIKeyboard or something. Am I mi...
Shouldn't it be 460 when the status bar whose height is 20 is shown?
So it turns out that the status bar is ON the main window instead of ABOVE it?
In contrast, view height is set to 460 in IB when status bar is turned on.
...
I have a UITabBarController as my MainWindow.xib. I have 3 tab bar items on the tab bar. On the second tab bar item, i have placed a UIButton. When the user taps the button, i want to be able to switch to the first tab bar item and display the view loaded there. How would i do this programmatically?
Thanks
...
Is there a better way than what is proposed here to create a one-to-one mapping between an table view cell's NSIndexPath and a unique NSUInteger or int, in order to create a unique tag property value for a widget in the cell (a UIProgressView)?
The link adds methods through a UIKit category extension that converts between NSIndexPath an...
This is probably either real easy, real dumb, or my google fu has taken a serious turn for the worse. Anyway, I'm implementing custom view for my app, which is using pure CGContext drawing, no subviews (for now at least). The thing is, I want it to autorotate, so I have shouldAutorotateToInterfaceOrientation return YES, and voila, the vi...