Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9189675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:17:19+00:00 2026-06-17T20:17:19+00:00

I have created iOS module in Titanium. This module includes my own framework written

  • 0

I have created iOS module in Titanium. This module includes my own framework written in native objective c. Everything looks fine, but there is one issue. One of the methods i’ve ported from my framework through module, takes a UIView and adds to it another uiview as a subview.
This subview contains a UIView with a UIButton. Problem is that sometimes subview appeares on the screen but without label on the button, i have to click the button, then the label appeares. But in some situations (it depends when i call this method from the module in javascript), subview doesn’t appeare at all, but it is actually there because when i tap on the place where it should be, button’s click event handler is being called.
I have no idea what is wrong (maybe something with layer).
When i use my framework in a native ios app, everything is working fine.

Could someone help me with that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:17:20+00:00Added an answer on June 17, 2026 at 8:17 pm

    Subview has to be added on main thread, so i have used a method:

    [self performSelectorOnMainThread: withObject: waitUntilDone:];
    

    Now everything appeares perfectly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a iOS framework and want to use that framework in one
I have created an application using the new Twitter framework in iOS 5, however
I have created an app in Titanium Appcelerator. The app worked fine up until
I'm just starting out in Objective-C, and have created an iOS program that I'd
I have created an app targeted for ios 4.1 with base SDK ios 5.0
I have created a class for fetching server-side data in my iOS-App, based on
I have created a CustomURLConnection class. If my version of iOS is greater than
In iOS 5, I have created a splitViewController based application in which I have
I have a newbie question about integrating two iOS apps. I have created an
I have an iOS app I created as a view-based app in xCode. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.