[iPhone SDK] hidden/white pixels in UITextView

I'm having this issue where the first ~20 rows of pixels of a UITextView are the backgroundColor (blocking any text that is there).
This only occurs if there are enough rows of text to enable scrolling.
Has anyone else had this problem or know how to fix it?

self answer:
This happens when the UITextView's frame extends over its containing view.

Similar Messages

  • IPhone 6 screen white pixel (dead / stuck)...

    I have a dead / stuck pixel in my iPhone 6 screen, It´s whiter on white background.
    1) Is there any way to solve this?
    2) Will this pixel interfere with the pics I take with the iPhone?
    Thank you in advance for all your comments and help.

    I can't see what you're referring to, but if there is a dead pixel, take the phone back to Apple and they'll replace it.  And to answer your question, photos would not be effected by a dead pixel on the screen.

  • Bright White Pixel

    My iPhone 6 has got a bright white pixel that can be seen on any colour exept black. You can even see it on dark grey. I am wondering what this is, and how I can fix it. It is unlikely it was due to pressure. About the size of a grain of salt or two. Tiny but it bugs me so much. Please help. Thanks

    Hi juliannerego,
    The article linked below provides further information regarding pixel anomalies that you may find helpful.
    About LCD display pixel anomalies for Apple products released in 2010 and later
    http://support.apple.com/en-us/HT202025
    Sincerely,
    Allen

  • IPhone SDK 3.1: Problem compiling first Hello World App

    Hi,
    I am new to XCode, Mac OS and iPhone Development.
    I had already installed the earlier iPhone SDK (version prior to the latest 3.1) into my Mac OS 10.6. I was not able to run
    the hello world program through xCode as while opting for Build and Run, the simulator it was giving me an error saying that it cannot find the right SDK.
    I had assumed that the old SDK is not compatible with the new Mac OS 10.6 (Snow Leopard). I had then uninstalled the old
    iPhone SDK using Terminal tool, using the command line given in the xCode uninstall guide.
    Installed the latest iPhone SDK (version 3.1), and then tried to compile the hello world app through xCode. Now I am getting the following error:
    *error: can't exec '/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2' (No such file or directory*)
    I had located the above mentioned directory and could not find the file: "gcc-4.2" as mentioned in the error. Instead
    executable files like "i686-apple-darwin10-gcc-4.2.1" are present there.
    My Project Settings are:
    Project Format - xcode 3.2 -compatible
    Base SDK - iPhone Simulator 3.1
    Compiler Version - System Default (GCC 4.2)
    I am totally confused here, as I don't know how to correctly set up the ENV, as I thought the iPhone installer SDK does that automatically.
    Please help me out.
    Thanks in advance for your time,
    JC.
    Error Messages:
    Build helloworldxc of project helloworldxc with configuration Debug
    ProcessPCH /var/folders/P-/P-zMg0EzHree36VYyqKEvU+TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/helloworldxcPrefix-gylsydenhucpkgfnujlgvzvhfhzd/helloworldxcPrefix.pch.gch helloworldxc_Prefix.pch normal i386 objective-c com.apple.compilers.gcc.4_2
    cd "/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc"
    setenv LANG en_US.US-ASCII
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -x objective-c-header -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_IPHONE_OS_VERSION_MINREQUIRED=30000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1 .sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/helloworldxc.build/Deb ug-iphonesimulator/helloworldxc.build/helloworldxc-generated-files.hmap -I/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/helloworldxc.build/D ebug-iphonesimulator/helloworldxc.build/helloworldxc-own-target-headers.hmap -I/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/helloworldxc.build/D ebug-iphonesimulator/helloworldxc.build/helloworldxc-all-target-headers.hmap -iquote /Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/helloworldxc.build/Deb ug-iphonesimulator/helloworldxc.build/helloworldxc-project-headers.hmap -F/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/Debug-iphonesimulato r -I/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/Debug-iphonesimulato r/include -I/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/helloworldxc.build/D ebug-iphonesimulator/helloworldxc.build/DerivedSources/i386 -I/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/helloworldxc.build/D ebug-iphonesimulator/helloworldxc.build/DerivedSources -c /Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/helloworldxc_Prefix.pch -o /var/folders/P-/P-zMg0EzHree36VYyqKEvU+TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/helloworldxcPrefix-gylsydenhucpkgfnujlgvzvhfhzd/helloworldxcPrefix.pch.gch
    while compiling hellowworldxc_Prefix.pch,
    error: can't exec '/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2' (No such file or directory)

    Could you let me know as where is the xcode setting through which it is looking for the compiler in the following path ? This path is probably wrong (Pls refer to the error messages)
    I'm not sure this will be of any help to you -- I'm not sure if it's the answer you're looking for, since I don't really know enough on the subject. However, this may answer your question, or at least maybe help you find the answer for yourself, so it's worth a shot. Try going to Edit Project Settings in the Project menu, and once the Project Settings open, select the Build tab. Search through this and see if you find any preferences along the lines of what you are looking for. In particular I would try the sections toward the bottom about the GCC 4.0 compiler. Sorry if this was a waste of time, but I wanted to try...

  • Iphone keeps flickn white and some times stays on white screen

    iphone keeps flickn white and some times stays on white screen

    buldogg77, nbuubu and bwible.
    I decided to return the iPHone 6. I have not had good experience with Apple products. I purchased three recently, which all had major issues (purchased within weeks of the iPhone 6). I had a 5s, which was going into low-signal mode and burning out the battery before mid-day. I had a Mac-Mini that kept dropping the wifi signal and had issue reconnecting when waking from sleep (this became nearly useless for anything online) and a iPhone 5c that could not be activated (a complete brick). The 5c was the last purchase (on-top of the Mac-Mini) that made me give up. I was not going to exchange four products that cost around $2k.
    I ended up ordering the Moto X second Gen. It has an amoled display and amoleds typically don't have uniformity and hot pixel issues. Also, I got accidental coverage, accessories and 32GB of memory for less than I did for the purchase of the iPhone 6 16GB (about $600 after $50 student rebate). I also found Siri was not as good as Google's voice services (or directions for that matter) and the OS was not as intuitive with multitasking IMO.
    I am a fan of Apple products overall and it's unfortunate Foxconn is doing them a disservice. Hopefully you all get your issues worked out. I'm baffled at how Apple products tend to get the best reviews on screen quality. Before a review should be given on accuracy, how about back-light uniformity? That is just as important for the overall user experience IMO.

  • IPhone SDK to iPhone...?

    Hi,
    I know this long post may seem very disturbing to some members, but it is important for me to post it.
    Today (July 12th), I have struggled, and struggled, and struggled to try and use the iPhone SDK on a PPC based mac. And yes, I did succeed! I had to modify Xcode & iPhone simulator in several ways to make it build & run properly. I have started to learn how to use Interface builder for iPhone.
    However, I was not aware that the $99 dollar fee was to get your app onto the iPhone, I though the fee was for getting your app on to the app store. I was so disappointed that after about 4 hours of fiddling around Finder & hidden files to modify Xcode, I wouldn't be able to try my application on my father's iPod Touch.
    So then, I tried different methods:
    1. I did it the traditional way; plugging in the iTouch and using "organizer" in Xcode to sync. It gave me the well known error message that verification had failed.
    2. I set the SDK to "device iPhone 2.0", so that Xcode would build my test app as an "iPhoneos-release" app. Then, I dragged the resulting application into iTunes/Applications (via iTunes itself). Worked fine. Pressed sync, and it gave me the famous warning that the app failed verification. I wasn't very pleased.
    So now here I am. I do not want to sell or place anything on the App Store. All I would like is to develop applications for my father's iTouch. I have been developing AppleScript Studio apps for about 3 years now, a new platform is interesting. I am aware that some organisation created a Mac OS X application named "Pwnage" and that would let me install my app on the iPod Touch. However, it's a hack, and I really do NOT want to hack the device.
    My end question would be, is there any way to "bypass" the $99 fee? I only want the app for my family's personal use.
    Regards,
    Philippe H.

    But don't you need a server for ad-hoc stuff?
    http://www.tuaw.com/2008/06/11/what-does-ad-hoc-app-distribution-mean-for-users/
    Also, the mini-app would really be for personal use, so I don't think the app store is right for that.

  • White pixel band on my 15" screen

    Hello guys!
    I hope you can help me because I do not know where to turn now. Let me explain my problem.
    I purchased in the month of November 2010 my 15 "MacBook Pro (mid 2010, 2.4 GHz, 4GB of RAM). During the first year of use no problem, the mac worked great and I used it immediately as your primary computer ( traveling and living away from home was an obvious choice.) If at the beginning of the second year were presented serious problems, namely: continuous computer crash, that I initially tried to solve disassembling and exchanging of cards instead of the Ram ), irreversible damage to hard disk drives (internal and external) resulting in loss of critical data, partly recovered by programs such as Drive Genius. And a band of white pixels appeared on the screen (approximately 6.5 cm from the left side of the screen wide and about 4 cm), which is attenuated slightly shake up the screen. All these problems (in time of exams and work) have led me first to ask for help Aesse computer, Apple Premium Reseller of Catania, with whom we have tested the Mac for more than a month, and it was found necessary to replace the Main Board. same fate at the Apple Store in Catania.
    After litigation related to Apple's warranty (the problem occurred in the second year and was linked to a lack of conformity), the Mac has been sent by the retailer Euronics (chain reseller Italian electronics) where I bought it, to its headquarters in Turin , where it replaced the Main Board. It's all right for a year.
    To be noted that in terms of performance, the Mac is back to the first, but about two weeks the band reappeared pixels, giving me a few problems in the visualization and realization of the work (I'm a graphic designer). The Hardware Test does not detect any problems and the band alternates between moments of everlasting presence in moments of terrifying absence (for example, two days ago I had to present to a client a job with the **** white band, the first five minutes when he was absent ).
    I did research on research on the internet but it seems this problem is far from common (the only loser I am, of course). I assume by contradiction that it is a burnt connector on the screen, because when the screen is slightly bent at the sides of the band fades or disappears (sometimes to reappear, sometimes to disappear), but would not explain why after repair (not touching the screen, but only the Main Board), the problem was not resubmitted immediately, but only after a year ... So, not being an expert, I ask you if you can understand what the problem is, because I have run out of options.
    Thank you all for your attention

    Welcome to Apple Discussions, wannafly.
    You should be able to take it to be inspected at an Apple Authorised Service Provider.
    Assuming that you are based in the Netherlands, try Apple Netherlands' online resource locator here.
    15 1.25G/12 1G PBs, Mac minis, iBooks G3/G4,   Mac OS X (10.4.3)   Cube, TAMs, iPods 2G/4G, iPs, AEBS, AX

  • Dear apple, I am really dissapointed with you. Around January 2013, my iPhone 4s 16GB White has hardware issues, which was the Wi-Fi grey out. The wifi grey out means that I can't access the wifi on/off button, and also it has no connection. I have put up

    Dear apple, I am really dissapointed with you. Around January 2013, my iPhone 4s 16GB White has hardware issues, which was the Wi-Fi grey out. The wifi grey out means that I can't access the wifi on/off button, and also it has no connection. I have put up with it for months, until june 7 when I decided it has been long enough, and I got a replacement. I told the genius bar what happened, and I already did the so called "steps" that apple reccommended on the site, which was reset network settings, restore iPhone. The genius bar gave me a replacement phone, so I was expecting that the problem would be over, but it isn't. It seems that it's iOS 6.1.3 which is the case of most public complaints on apple iPhone products. Not even 3 weeks after I got the phone replaced, it is doing it again, so I suspect I'm just going to get a replacement again? Unfortunately I only have until 5th of july 2013 until my 1 year warranty is up. After that, any issue I have, I have to purchase apple care. People are expecting this problem to be fixed but I don't see it being solved any time soon. This is horrible and really low, because I have been a good customer, when I talk to the people at the genius bar, I show the utmost respect I can to them for the work they put into their job, but somewhere there is a problem where something has gone wrong. Because of that, people that only have a one year warranty (which i received because I purchased my apple iPhone at an Optus outlet, once that one year warranty is up, I have to pay for a problem that isn't even my fault? That isn't how it should work, you should be fixing this problem so people can be happy customers and leave happy. Obviously you don't all know how to do your jobs, because if you did, we wouldn't have this problem. I would like a replacement phone, ONCE AGAIN. If this problem occurs again, I will simply stop buying your products, and lose faith in your company, your's sincerely, Jack Maher.

    This is a user to user help forum only. You are not addressing Apple here.
    My iPhone 4S, iPhone 5, and iPad 2 are running 6.1.3 with no such problem and the same with the overwhelming majority of iOS devices running 6.1.3.

  • IPhone SDK - What is the equivalent of a combo box

    I have a screen where there are quite a few items which are of the multiple-choice type. In other platforms i use a combo box (pick lists) to do this.
    On the iPhone SDK the only thing that comes close is the UIPicketView which is ugly IMHO. it takes too much real estate and too heavy.
    Is this is the only control available now?
    Also does the UIPicker come with an associated control which will launch the picker? What i mean is on other platforms and on the web there is a text field with a button with a down arrow next to it. Clicking either on the text field or the down arrow drops the list down. Is there a similar control on the iPhone which when clicked launches the picker OR do i have to create a button or a custom view which will launch the picker?
    Thanks for reading this and for your feedback.
    -TRS

    I do not believe there is an equivalent of -D in the DB JVM, a possible solution is:
    Load a properties file into the DB using Loadjava, then open this file from your Java code using Properties.load(), then iterate the properties calling System.setProperty().
    Chris

  • Learning iPhone SDK - Trying to draw an image

    Although I have programmed for Mac in the last years, I have never used Mac-specific technologies as Cocoa (I have programmed more in OpenGL, SDL, and the like).
    Now I am getting started with the iPhone SDK. I'd like to do some OpenGL|ES stuff, but since it is not supported in the Simulator, and you need to join the Developer Program to test stuff on directly on the device (and admission of new members is closed right now), I am focused on other stuff right now, like using Core Graphics for drawing images on the iPhone.
    My application is based on the Cocoa Touch Application template. I left the default code except for a few changes.
    In file "UntitledAppDelegate.m", I have changed the method applicationDidFinishLaunching to:
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
    contentView = [[[MyView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease];
    [window addSubview:contentView];
    [window makeKeyAndVisible];
    Then, in the MyView interface file (MyView.h), I have added the attribute "UIImageView* image;" to the class, which is declared as a property, and synthesized.
    In the class implementation (MyView.m), I have changed the method initWithFrame to:
    - (id)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
    self.backgroundColor = [UIColor darkGrayColor];
    image = [self loadImageView:@"box01.png"];
    [self addSubview:image];
    return self;
    loadImageView is a private method I have implemented as:
    - (UIImageView *)loadImageView:(NSString *) imageName {
    UIImage *img = [UIImage imageNamed:imageName];
    UIImageView *theView = [[UIImageView alloc] initWithImage:img];
    return theView;
    Since I have loaded the UIImage, and initialized a UIImageView with it, and the image view is added as a subview of the main view attached to the window, I thought it should be everything needed to draw an image on the screen. But nothing is visible. The screen is simply black when I run this on the Simulator. It doesn't even set the background to dark gray.
    So I need some help with this, I sure that anyone with experience in Mac programming will know how to help me.
    Thank you in advance.
    Message was edited by: Jedive

    I removed the XIB file from the project, but that didn't help. It was a problem with my inexperience with Objective-C. When accessing class properties in a method of the same class, i was not putting "self." before the property (in C++ that's redundant). For example, in the line "window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];". After adding it, it works correctly.

  • My refurbished rMBP 15" has a stuck (white) pixel and is still under the 1 year limited warranty, can/will Apple repair it if I go to an Apple Store?

    Hi, my refurbished rMBP 15" has a stuck (white) pixel and is still under the 1 year limited warranty, can/will Apple repair it if I go to an Apple Store?
    I just discovered today that my MacBook has a "stuck" pixel. I read that the display has to have at least 5 dead/stuck pixels else Apple is not going to repair it, is it true? My warranty expires in 1 month so I can't really wait for 4 more pixels to die or get stuck.
    Temporary fix:
    I know that this is something I can't really repair myself, but I tried some things such as changing the display resolution to it's "Full" 2880x1800 resolution and It actually reduced the size of the stuck pixel.
    Thank You,
    Etienne
    MacBook Pro 15-inch (Mid 2012) with Retina display (2.3Ghz Intel Core i7, 8GB RAM, 256GB SSD, GT650M)
    Running Mac OS X 10.10

    Hello etienne255,
    After reviewing your post, I have located an article that can help with questions concerning pixel anomalies:
    About LCD display pixel anomalies for Apple products released before 2010 - Apple Support
    If you suspect your display contains a high number of pixel anomalies, take your Apple product to an Apple Authorized Service Provider for closer examination.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • I dropped my iPhone 5s and white vertical bars problem

    Hey all,
    Recently today I dropped my iPhone 5s and white vertical bars started to appear in the right hand side of my phone... Do I just need to get my screen replaced or is there more to the problem?

    Apple doesn't replace the display on the 5s, only the 5 and the 5c. Probably wouldn't matter anyway. The damage is probably more extensive than just the display.
    Make an appointment at the genius bar. A replacement is $269 if you don't have AppleCare+

  • IPhone SDK CodeSign Error: Redux (latest OS X update is broken)

    This bug - http://discussions.apple.com/thread.jspa?threadID=1455699&start=0&tstart=0 - is back. My AdHoc project, which worked perfectly last week, has just stopped building, with this:
    "object file format invalid or unsuitable"
    As soon as I upgraded from 10.5.7 to 10.5.8, this bug appeared.
    However, this bug was officially fixed in 10.5.7 - so, I'm guessing here, Apple has accidentally re-created it.
    Unfortunately, I cannot add to the original post, because Apple has frozen the topic.
    So, here's a new topic to ask if anyone else is having this problem, and what they did about it - is it exactly the same as the old bug? or is it different in some way?
    I'm going to try some of the workarounds for the old bug - but hacking command line scripts isn't fun, and I'm worried I might break something even worse .

    iPhone Dev Center
    Downloads
    Read me before downloading
    If you have updated your device to iPhone OS 3.1.3 with iTunes, you must install iPhone SDK 3.1.3 in order to continue with your development.
    *iPhone SDK 3.1.3*
    iPhone SDK 3.1.3 includes the Xcode IDE, iPhone simulator, and a suite of additional tools for developing applications for iPhone and iPod touch.
    _Posted: February 2, 2010_
    Leopard Build: 9M2809a
    Snow Leopard Build: 10M2003a
    *Leopard Downloads*
    iPhone SDK 3.1.3 with Xcode 3.1.4
    iPhone SDK 3.1.3 with Xcode 3.1.4 Readme
    *Snow Leopard Downloads*
    iPhone SDK 3.1.3 with Xcode 3.2.1
    iPhone SDK 3.1.3 with Xcode 3.2.1 Readme
    *Other Downloads*
    iPhone SDK Agreement
    iPhone Configuration Utility

  • IPhone SDK 2.2 memory corruption

    Hello. I'm working on an application for iPhone SDK 2.2 and seem to be having weird memory corruption problems. Not necessarily leaks because using Instruments shows my memory stamp never going above about 1.8 megs. The nature of the app is a database of animals so I'm constantly loading and unloading sounds and images. None of the objects are very large (at most I'll have 4 800k pngs loaded at once) and I've checked and rechecked my alloc/retain/release and everything is in order (hence no memory usage increase). However...after using the application for a while I'll notice strange behavior. For example:
    1) we have a UILabel as the title for each page. After a while the font size of this will change.
    2) I have several screens with a subclassed UIScrollView where images are loaded and then added to. The problem shows itself here by the images not showing up. there's no crash, stepping through the debugger shows that the image loads up fine, it's just that the image is not there.
    3) I have a UILabel at the top of an animal description screen, which in the nib file is called "Animal Name" by default. This will change to show "Animal Name" at the top.
    I've removed all audio in our latest build so that isn't the problem. What I'm starting to suspect is that altering anything defined in a nib file will cause corruption. For example, the UIScrollView is defined in the nib file, and I constantly am reassigning the contents of that with a UIImageView. This UIImageView is handled within the subview class like :
    UIImageView *imgView = [[UIImageView alloc] initWithImage: [ UIImage imageWithContentsOfFile:[[NSBundle mainBundle ] pathForResource:imageToLoad ofType:@"png" ]] ];
    imgView.tag = 50;
    [self addSubview:imgView ];
    [ imgView release ];
    Then later when moving away from the screen I'll find that view's tag and remove it from the superview (since addSubView increases the retain count, the alloc+addSubView is cancelled by release+removeFromSuperView)
    I can't explain why titles that are never changed would be affected, but it must somehow be related. What I'm wondering is: are there any known issues involving modification of the contents of objects defined in Nib files? Perhaps the memory allocated when initWithNibName is restrained, then any modification of objects allocated within it can cause corruption. I'm starting to think I should just alloc and free anything modified in code and skip using nib files altogether (I reset the text on buttons for example). If this is a known issue please let me know. I'll give you more information if I can.
    Thank you

    Just download the huge SDK package and install. No need to uninstall the old SDK.

  • Problem in set selectedTextcolor in uitableview cell in iPhone SDK 3.1.2

    Hello,
    I set selected text color in uitableview cell using cell.selectedTextColor = [UIColor whiteColor]; for iPhone SDK 2.2.1.
    Now i use iPhone SDK 3.1.2, So for that i make change as per documentation for that i use textLabel properties. But selectedTextColor is not exit.
    So Now for SDK 3.1.2 how to set selectedTextColor?..
    Thank you.

    The textLabel property is an instance of UILabel, so it has its own textColor, textAlignment, and font properties. E.g.:
    cell.textLabel.text = @"foo";
    cell.textLabel.textColor = [UIColor whiteColor];
    cell.textLabel.textAlignment = UITextAlignmentLeft;
    Hope that helps!
    - Ray

Maybe you are looking for