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

  • Home
  • SEARCH
  • 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 7024571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:51:28+00:00 2026-05-27T23:51:28+00:00

I am trying to create an iPhone puzzle game, it uses a grid system

  • 0

I am trying to create an iPhone puzzle game, it uses a grid system like Sudoku. I have the puzzle itself being drawn to a Bitmap which is then displayed to the view via a UIViewImage control. Currently I have positioned a UIImageView (which displays the puzzle) onto the ViewController using the interface editor.

What I require now though is “hints” above each column and to the side of each row. Can I draw text directly onto a Bitmap or do I have to do it a different way such as drawing text to the ViewController itself, maybe using a number of Labels? In this case is it possible to dynamically create and position labels onto a view? If so then how do I do 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-05-27T23:51:29+00:00Added an answer on May 27, 2026 at 11:51 pm

    It might depend on the case but probably in most cases the most simple solution would be to place labels.. You can add them dynamically on any event or loading time by using “alloc” + “initWithFrame” + “addSubView” (onto the view controller.view or imageView). Also you can change text at any time or any other property for that matter. You did not really specify your problem at this matter..

    As for adding text to textures/images you have many libraries such as “cocos” to play with but I wouldn’t recommend that if you will be changing the text.

    Edited to add a snippet:

    UILabel *someLabel = [[UILabel alloc] initWithFrame:CGRectMake(10.0f, 10.0f, 100.0f, 45.0f)];
    someLabel.text = @"some text";
    [self.view addSubview:someLabel];
    [someLabel release];
    

    This is considered to be written in view controller. You might want to have later reference to that same label for witch you put “UILabel *someLabel;” and move release to dealloc…

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

Sidebar

Related Questions

I am trying to create a simple translation program for iPhone and have drawn
I'm trying to create an application that uses the iPhone MapView (under Google Code).
I'm trying to create a universal iPhone app, but it uses a class defined
I am trying to create a contacts like app for iphone where the name
I am trying to create an app for the iPhone and I have a
I am trying to create a generic UITableView in my iPhone app. I have
I am trying to create a cool score counter in my iPhone game, where
I have been trying to create an iphone app sending telnet command. However what
I'm trying to create a sliding checkbox like the one on the iphone. I
i'm trying to create a window that can be scaled, just like the iPhone/iPad

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.