Git Product home page Git Product logo

Comments (4)

chrizstone avatar chrizstone commented on July 21, 2024

Same Problem here...I just does´t come up!

from ios-custom-alertview.

wimagguc avatar wimagguc commented on July 21, 2024

hey @chrizstone and @sharanyakm - does the project in the repo work for you? in case it does, can you share some more of your code? are you trying to launch the alert view in viewDidLoad?

from ios-custom-alertview.

0xNSHuman avatar 0xNSHuman commented on July 21, 2024

Same here.
Using this code for creating AlertView:

- (IBAction)plusProjectButtonPressed:(id)sender {
    CustomIOS7AlertView *newProjectAlert = [[CustomIOS7AlertView alloc] init];
    [newProjectAlert setButtonTitles:[NSMutableArray arrayWithObjects:@"Cancel", @"Create", nil]];
    [newProjectAlert setUseMotionEffects:TRUE];
    BLNewProjectContainedView *newProject = [[BLNewProjectContainedView alloc] init];
    [newProjectAlert setContainerView:newProject];
    [newProjectAlert show];
};

BLNewProjectContainedView is inherited from UIView and contains only one UITextField
And almost nothing happens, just a little more dark screen, but without Alert.

from ios-custom-alertview.

 avatar commented on July 21, 2024

I've found that if I use the sample project and fire on the launchDialog button everything looks great. However, I'm trying to fire on a condition. If I remove the launchDialog and add this code (with proper initialization)
if(!didRunBefore)
{
NSLog(@"Should see alert view"); //Note : This works
[self launchDialog];
}
I don't see the alert view. I changed the launchDialog to -(void)launchDialog. Very mysterious.

from ios-custom-alertview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.